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

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
(6) Port mode register 8 (PM8)
(7) Port mode register 9 (PM9)
When using the P80/ANI0 to P87/ANI7 pins for analog input port, set PM80 to PM87 to 1. The output latches of
P80 to P87 at this time may be 0 or 1.
If PM80 to PM87 are set to 0, they cannot be used as analog input port pins.
PM8 can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets this register to FFH.
When using the P90/ANI8 to P93/ANI11 pins for analog input port, set PM90 to PM93 to 1. The output latches of
P90 to P93 at this time may be 0 or 1.
If PM90 to PM93 are set to 0, they cannot be used as analog input port pins.
PM9 can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets this register to FFH.
P80/ANI0 to P87/ANI7, P90/ANI8 to P93/ANI11 pins are as shown below depending on the settings of ADPC,
ADS, PM8 and PM9.
Address: FF28H
Symbol
PM8
Address: FF29H
Symbol
PM9
Analog input selection
Digital I/O selection
Table 13-3. Setting Functions of P80/ANI0 to P87/ANI7, P90/ANI8 to P93/ANI11 Pins
ADPC
PM87
PM8n
PM9n
7
0
1
7
1
0
1
After reset: FFH
After reset: FFH
Output mode (Output buffer on)
Input mode (Output buffer off)
Output mode (Output buffer on)
Input mode (Output buffer off)
Figure 13-10. Format of Port Mode Register 8 (PM8)
Figure 13-11. Format of Port Mode Register 9 (PM9)
Input mode
Output mode
Input mode
Output mode
PM86
6
6
1
PM8, PM9
R/W
R/W
CHAPTER 13 A/D CONVERTER
PM85
User’s Manual U17554EJ4V0UD
5
5
1
P8n pin I/O mode selection (n = 0 to 7)
P9n pin I/O mode selection (n = 0 to 3)
Selects ANI.
Does not select ANI.
Selects ANI.
Does not select ANI.
PM84
4
4
1
ADS
PM83
PM93
3
3
Analog input (to be converted)
Analog input (not to be converted)
Setting prohibited
Digital input
Digital output
PM82
PM92
2
2
P90/ANI8 to P93/ANI11 Pins
P80/ANI0 to P87/ANI7,
PM81
PM91
1
1
PM80
PM90
0
0
295

Related parts for UPD78F0890GK(A)-GAJ-AX