UPD78F0386GK-8EU-A Renesas Electronics America, UPD78F0386GK-8EU-A Datasheet - Page 185

no-image

UPD78F0386GK-8EU-A

Manufacturer Part Number
UPD78F0386GK-8EU-A
Description
MCU 96KB FLASH 5KB RAM
Manufacturer
Renesas Electronics America
Series
78K0/Lx2r
Datasheet

Specifications of UPD78F0386GK-8EU-A

Core Processor
78K/0
Core Size
8-Bit
Speed
20MHz
Connectivity
3-Wire SIO, I²C, LIN, UART/USART
Peripherals
LCD, LVD, POR, PWM, WDT
Number Of I /o
26
Program Memory Size
96KB (96K x 8)
Program Memory Type
FLASH
Ram Size
5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
6.4.5 Square-wave output operation (timer 00 only)
bit timer capture/compare register 000 (CR000).
bit 0 (TOE00) and bit 1 (TOC001) of 16-bit timer output control register 00 (TOC00) to 1. This enables a square wave
with any selected frequency to be output.
The basic operation setting procedure is as follows.
<1> Set the count clock by using the PRM00 register.
<2> Set the CRC00 register (see Figure 6-34 for the set value).
<3> Set the TOC00 register (see Figure 6-34 for the set value).
<4> Set any value to the CR000 register (0000H cannot be set).
<5> Set the TMC00 register to start the operation (see Figure 6-34 for the set value).
Caution CR000 cannot be rewritten during TM00 operation.
Remarks 1. For the setting of the TO00 pin, see 6.3 (5) Port mode register 0 (PM0).
A square wave with any selected frequency can be output at intervals determined by the count value preset to 16-
The TO00 pin output status is reversed at intervals determined by the count value preset to CR000 + 1 by setting
TMC00
CRC00
Setting
7
0
7
0
2. For how to enable the INTTM000 interrupt, see CHAPTER 19 INTERRUPT FUNCTIONS.
6
0
6
0
Figure 6-34. Control Register Settings in Square-Wave Output Mode (1/2)
5
0
5
0
CHAPTER 6 16-BIT TIMER/EVENT COUNTERS 00 AND 01
4
0
4
0
(a) 16-bit timer mode control register 00 (TMC00)
(b) Capture/compare control register 00 (CRC00)
TMC003
1
3
0
TMC002
CRC002
0/1
1
User’s Manual U17504EJ2V0UD
TMC001
CRC001
0/1
0
CRC000
OVF00
0
0
Clears and starts on match between TM00 and CR000.
CR000 used as compare register
183

Related parts for UPD78F0386GK-8EU-A