
25. Flash Memory
Table 25.7
Pin Functions for Flash Memory Standard Serial I/O Mode
I: Input O: Output I/O: Input and output
NOTE:
1. The pins are provided in the 144-pin package only.
Pin Name
Function Name
I/O
Description
VCC
VSS
Power supply
input
I
Apply the guaranteed program/erase supply voltage to the VCC pin
Apply 0 V to the VSS pin
CNVSS
I
Apply an “H” signal to the pin
RESET
Reset input
I
Reset input pin
XIN
Clock input
I
Connect a ceramic resonator or a crystal oscillator between pins XIN and
XOUT
Clock output
O
To use the external clock, input the clock to the XIN pin and leave the
XOUT pin open
BYTE
BYTE input
I
Apply an “H” or “L” signal to the pin
AVCC, AVSS
Analog power
supply input
I
Connect AVCC to VCC
Connect AVSS to VSS
VREF
Reference
voltage input
I
Reference voltage input pin for the A/D converter
P0_0 to P0_7
Input port P0
I
Apply an “H” or “L” signal to the pin, or leave it open
P1_0 to P1_7
Input port P1
I
Apply an “H” or “L” signal to the pin, or leave it open
P2_0 to P2_7
Input port P2
I
Apply an “H” or “L” signal to the pin, or leave it open
P3_0 to P3_7
Input port P3
I
Apply an “H” or “L” signal to the pin, or leave it open
P4_0 to P4_7
Input port P4
I
Apply an “H” or “L” signal to the pin, or leave it open
P5_0
CE input
I
Apply an “H” signal to the pin
P5_5
EPM input
I
Apply an “L” signal to the pin
P5_1 to P5_4
P5_6, P5_7
Input port P5
I
Apply an “H” or “L” signal to the pin, or leave it open
P6_0 to P6_3
Input port P6
I
Apply an “H” or “L” signal to the pin, or leave it open
P6_4
BUSY input
O
Standard serial I/O mode 1: BUSY signal output pin
Standard serial I/O mode 2: Program operation verify monitor
P6_5
SCLK input
I
Standard serial I/O mode 1: Serial clock input pin. This pin needs to be
pulled up.
Standard serial I/O mode 2: Apply an “L” signal to the pin
P6_6
Data input RXD
I
Serial data input pin
P6_7
Data output TXD
O
Serial data output pin
This pin needs to be pulled up when used in standard serial I/O mode1.
P7_0 to P7_7
Input port P7
I
Apply an “H” or “L” signal to the pin, or leave it open
P8_0 to P8_4
P8_6, P8_7
Input port P8
I
Apply an “H” or “L” signal to the pin, or leave it open
P8_5
NMI input
I
Apply an “H” signal
P9_0 to P9_7
Input port P9
I
Apply an “H” or “L” signal to the pin, or leave it open
P10_0 to P10_7 Input port P10
I
Apply an “H” or “L” signal to the pin, or leave it open
P11_0 to P11_7 Input port P11
I
Apply an “H” or “L” signal to the pin, or leave it open
(1)P12_0 to P12_7 Input port P12
I
Apply an “H” or “L” signal to the pin, or leave it open
(1)P13_0 to P13_7 Input port P13
I
Apply an “H” or “L” signal to the pin, or leave it open
(1)P14_0 to P14_7 Input port P14
I
Apply an “H” or “L” signal to the pin, or leave it open
(1)P15_0 to P15_7 Input port P15
I
Apply an “H” or “L” signal to the pin, or leave it open
(1)