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

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
(3) Example of setting baud rate
Remark
Baud Rate
115200
153600
312500
625000
19200
24000
31250
38400
48000
76800
[bps]
1200
2400
4800
9600
300
600
Cautions 1. Keep the baud rate error during transmission to within the permissible error range at
Example: Frequency of base clock = 10 MHz = 10,000,000 Hz
TPS63n to TPS60n: Bits 3 to 0 of clock selection register 6n (CKSR6n) (setting of base clock
k:
f
ERR:
n = 0, 1
PRS
TPS63n,
TPS60n
7H
6H
5H
4H
3H
2H
1H
3H
4H
0H
2H
0H
1H
1H
0H
0H
:
2. Make sure that the baud rate error during reception satisfies the range shown in (4)
Set value of MDL67n to MDL60n bits of BRGC6 register = 00100001B (k = 33)
Target baud rate = 153600 bps
Baud rate = 10 M/(2 × 33)
Error = (151515/153600 − 1) × 100
the reception destination.
Permissible baud rate range during reception.
f
PRS
65
65
65
65
65
65
65
13
65
13
33
11
= −1.357 [%]
k
5
8
8
4
CHAPTER 14 SERIAL INTERFACES UART60 AND UART61
= 5.0 MHz
Calculated
113636
156250
312500
625000
= 10000000/(2 × 33) = 151,515 [bps]
19231
24038
31250
38462
48077
75758
Value
1202
2404
4808
9615
301
601
Table 14-4. Set Data of Baud Rate Generator
Value set by MDL67n to MDL60n bits of baud rate generator control
(f
register 6n (BRGC6n) (k = 4, 5, 6, ..., 255)
Peripheral hardware clock frequency
Baud rate error
XCLK6
−1.36
−1.36
ERR
0.16
0.16
0.16
0.16
0.16
0.16
0.16
0.16
0.16
0.16
1.73
[%]
0
0
0
))
User’s Manual U17554EJ4V0UD
TPS63n,
TPS60n
8H
7H
6H
5H
4H
3H
2H
4H
5H
1H
3H
0H
0H
0H
1H
1H
f
PRS
65
65
65
65
65
65
65
13
65
13
65
43
33
5
8
4
k
= 10.0 MHz
Calculated
116279
151515
312500
625000
19231
24038
31250
38462
48077
76923
Value
1202
2404
4808
9615
301
601
−1.36
ERR
0.16
0.16
0.16
0.16
0.16
0.16
0.16
0.16
0.16
0.16
0.16
0.94
[%]
0
0
0
TPS63n,
TPS60n
9H
8H
7H
6H
5H
4H
3H
5H
6H
2H
4H
1H
0H
1H
2H
2H
f
PRS
65
65
65
65
65
65
65
13
65
13
65
87
33
k
5
8
4
= 20.0 MHz
Calculated
114943
151515
312500
625000
19231
24038
31250
38462
48077
76923
Value
1202
2404
4808
9615
301
601
−0.22
−1.36
ERR
0.16
0.16
0.16
0.16
0.16
0.16
0.16
0.16
0.16
0.16
0.16
[%]
0
0
0
353

Related parts for UPD78F0890GK(A)-GAJ-AX