UPD78F0890GK(A)-GAJ-AX NEC, UPD78F0890GK(A)-GAJ-AX Datasheet - Page 336

8BIT MCU, 128K FLASH, 7K RAM, LQFP

UPD78F0890GK(A)-GAJ-AX

Manufacturer Part Number
UPD78F0890GK(A)-GAJ-AX
Description
8BIT MCU, 128K FLASH, 7K RAM, LQFP
Manufacturer
NEC
Datasheet

Specifications of UPD78F0890GK(A)-GAJ-AX

Controller Family/series
UPD78F
No. Of I/o's
55
Ram Memory Size
7KB
Cpu Speed
20MHz
No. Of Timers
10
No. Of Pwm
RoHS Compliant
Core Size
8bit
Program Memory Size
128KB
Oscillator Type
External, Internal
14.4.2 Asynchronous serial interface (UART) mode
performed.
baud rates.
(1) Registers used
336
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
• Asynchronous serial interface operation mode register 6n (ASIM6n)
• Asynchronous serial interface reception error status register 6n (ASIS6n)
• Asynchronous serial interface transmission status register 6n (ASIF6n)
• Clock selection register 6n (CKSR6n)
• Baud rate generator control register 6n (BRGC6n)
• Asynchronous serial interface control register 6n (ASICL6n)
• Input switch control register (ISC)
• Port mode register 1 (PM1)
• Port register 1 (P1)
<1> Set the CKSR6n register (see Figure 14-13, 14-14).
<2> Set the BRGC6n register (see Figure 14-15, 14-16).
<3> Set bits 0 to 4 (ISRM6n, SL6n, CL6n, PS60n, PS61n) of the ASIM6n register (see Figure 14-7, 14-8).
<4> Set bits 0 and 1 (TXDLV6n, DIR6n) of the ASICL6n register (see Figure 14-17, 14-18).
<5> Set bit 7 (POWER6n) of the ASIM6n register to 1.
<6> Set bit 6 (TXE6n) of the ASIM6n register to 1. → Transmission is enabled.
<7> Write data to transmit buffer register 6n (TXB6n). → Data transmission is started.
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
Remark n = 0, 1
Set bit 5 (RXE6n) of the ASIM6n register to 1. → Reception is enabled.
and port register.
CHAPTER 14 SERIAL INTERFACES UART60 AND UART61
User’s Manual U17554EJ4V0UD

Related parts for UPD78F0890GK(A)-GAJ-AX