Department of Computer Scien
ce and Information Engineering
National Cheng Kung University, TAIWAN
PIN HANEL
DESCRIPTION
(cont’)
8051/52(DS89C4x0AT89C518031)
P1.0P1.1P1.2P1.3P1.4P1.5P1.6P1.7RST(RXD)P3.0(TXD)P3.1(INT0) P3.2(INT1) P3.3(T0) P3.4(T1) P3.5(WR)P3.6(RD)P3.7XTAL2XTAL1GND
VccP0.0(AD0)P0.1(AD1)P0.2(AD2)P0.3(AD3)P0.4(AD4)P0.5(AD5)P0.6(AD6)P0.7(AD7)-EA/VPPALE/PROG-PSENP2.7(A15)P2.6(A14)P2.5(A13)P2.4(A12)P2.3(A11)P2.2(A10)P2.1(A9)P2.0(A8)
(^1234567891011121314151617181920)
403938373635343332 3130292827262524232221
A total of 32 pins are set aside for the four ports P0, P1, P2, P3, where each port takes 8 pins
Grond-PSEN and ALE are used mainly in 8031-baded systems
Vcc, GND, XTAL1, XTAL2, RST, -EA are used by all members of 8051 and 8031 families
P1 P3
P0 P2
Provides +5V supply voltage to the chip