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

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
-
14.4.2 Asynchronous serial interface (UART) mode
performed.
baud rates.
(1) Registers used
312
POWER6
In this mode, data of 1 byte is transmitted/received following a start bit, and a full-duplex operation can be
A dedicated UART baud rate generator is incorporated, so that communication can be executed at a wide range of
Note Can be set as port function.
Remark
0
1
<1> Set the CKSR6 register (see Figure 14-8).
<2> Set the BRGC6 register (see Figure 14-9).
<3> Set bits 0 to 4 (ISRM6, SL6, CL6, PS60, PS61) of the ASIM6 register (see Figure 14-5).
<4> Set bits 0 and 1 (TXDLV6, DIR6) of the ASICL6 register (see Figure 14-10).
<5> Set bit 7 (POWER6) of the ASIM6 register to 1.
<6> Set bit 6 (TXE6) of the ASIM6 register to 1.
<7> Write data to transmit buffer register 6 (TXB6).
The basic procedure of setting an operation in the UART mode is as follows.
Caution Take relationship with the other party of communication when setting the port mode register
The relationship between the register settings and pins is shown below.
Asynchronous serial interface operation mode register 6 (ASIM6)
Asynchronous serial interface reception error status register 6 (ASIS6)
Asynchronous serial interface transmission status register 6 (ASIF6)
Clock selection register 6 (CKSR6)
Baud rate generator control register 6 (BRGC6)
Asynchronous serial interface control register 6 (ASICL6)
Input switch control register (ISC)
Port mode register 1 (PM1)
Port register 1 (P1)
Set bit 5 (RXE6) of the ASIM6 register to 1.
TXE6
POWER6: Bit 7 of asynchronous serial interface operation mode register 6 (ASIM6)
TXE6:
RXE6:
PM1 :
P1 :
0
0
1
1
:
and port register.
RXE6
0
1
0
1
don’t care
Bit 6 of ASIM6
Bit 5 of ASIM6
Port mode register
Port output latch
Table 14-2. Relationship Between Register Settings and Pins
PM13
Note
Note
0
0
CHAPTER 14 SERIAL INTERFACE UART6
P13
Note
Note
1
1
User’s Manual U17504EJ2V0UD
PM14
Note
Note
1
1
Transmission is enabled.
Reception is enabled.
P14
Data transmission is started.
Note
Note
Transmission/
Transmission
Reception
Operation
reception
UART6
Stop
T
X
D6/P13
T
T
P13
P13
X
X
D6
D6
Pin Function
R
X
R
R
D6/P14
P14
P14
X
X
D6
D6

Related parts for UPD78F0386GK-8EU-A