《单片机及其扩展.ppt》由会员分享,可在线阅读,更多相关《单片机及其扩展.ppt(19页珍藏版)》请在优知文库上搜索。
1、单片机系统扩展6116的引脚6116与单片机的连接图片P2.0P2.1P2.2P2.7P0.0P0.1P0.2P0.3P0.4P0.5P0.7P0.6181714138743191615121965223456781819222317161514131110930282322213233343536373839111D7D6D5D4D3D2D1D0Q7Q6Q5Q4Q3Q2Q1Q0CEA10A9A8A7A6A5A4A3A2A1A0I/O7I/O6I/O5I/O4I/O3I/O2I/O1I/O0ALEG OEGND2412VCC GNDGND803161162K874LS373WEWR16275
2、VRD1722 OE6264的引脚NC1A122A73A64A55A46A37A28A19A010I/O011I/O112I/O213GND14I/O315I/O416I/O517I/O618I/O719CE120A1021OE22A1123A924A825CE226WE27VCC2862646264与单片机的连接图片P0.0P0.1P0.2P0.3P0.4P0.5P0.6P0.7WRRDOEWECE162648051ALEGOEEA74LS138P2.0P2.1P2.2P2.3P2.4P2.5P2.7P2.6Y1CE2 5 VI/O0I/O1I/O2I/O3I/O4I/O5I/O6I/O7D
3、7D6D5D4D3D2D1D0Q7Q6Q5Q4Q3Q2Q1Q0A1A0A2A3A4A6A7A5A8A9A10A11A122816-2864引脚A71A62A53A44A35A26A17A08I/O09I/O110I/O211GND12I/O313I/O414I/O515I/O616I/O717CE18A1019OE20WE21A922A823VCC242816ANC1A122A73A64A55A46A37A28A19A010I/O011I/O112I/O213GND14I/O315I/O416I/O517I/O618I/O719CE20A1021OE22A1123A924A825NC26WE2
4、7VCC282864A2864与单片机的连接单片机连接LED-按键-6264-138-373-图片2732的引脚2716-64-128-256的引脚2764与单片机的连接图片P0.0P0.1P0.2P0.3P0.4P0.5P0.6P0.7PSEN8031ALEG OED7D6D5D4D3D2D1D0EA74LS138P2.0P2.1P2.2P2.3P2.4P2.5P2.7P2.6Y0O0O1O2O3O4O5O674LS3732764(8K8)VPPVGM5 VQ7Q6Q5Q4Q3Q2Q1Q0OECEA1A0A2A3A4A6A7A5A8A9A10A11A12O727128与单片机的连接图片P2.
5、0P2.1P2.2P2.3P0.0P0.1P0.2P0.3P0.4P0.5P0.7P0.6181714138743191615123965245678910232124251918171615131211222930242322213233343536373839111D7D6D5D4D3D2D1D0Q7Q6Q5Q4Q3Q2Q1Q0A11A10A9A8A7A6A5A4A3A2A1A0O7O6O5O4O3O2O1O0OEALEPSENG OEGNDGND241420VCCGND CEEA31GND80312712816K874LS373A12A13P2.4P2.52526226VPPPGM5 V
6、5 V127单片机与273-244连接8255引脚与内部结构D034D133D232D331D430D529D628D727PA04PA13PA22PA31PA440PA539PA638PA737PB018PB119PB220PB321PB422PB523PB624PB725PC014PC115PC216PC317PC413PC512PC611PC710RD5WR36A09A18RESET35CS68255A组端口AA组端口C上半部 (4)下半部 (4)B组端口CB组端口B(8)(8)A组控制控制B组数据总线缓冲读/写控制逻辑I/OI/OI/OI/ORDWRA0A1RESETCSD7 D0PA
7、7 PA0PC7 PC4PC3 PC0PB7 PB08288控制字B组C口低4位B口方式选择0:输出1:输入0:输出1:输入 0:模式0 1:模式1A组C口高4位A口方式选择0:输出0:输出1:输入1:输入01:模式100:模式01*:模式21:方式标志0:复位1:置位000001010PC0位选择011100101110111PC1PC2PC3PC4PC5PC6PC70:位操作D7 D6D5 D4 D3 D2 D1 D0D7D3 D2D1 D0(a)(b)8255与单片机连接P0.0P0.1P0.2P0.3P0.4P0.5P0.6P0.7WRRDRDWRRESETCSPAPBPC82558051ALEG OEEA373D7D6D5D4D3D2D1D0Q7Q6Q5Q4Q3Q2Q1Q0A1A0D7D6D5D4D3D2D1D0半导体存储器分类单片机扩展总线结构1单片机扩展总线结构2