当前位置:网站首页>Parallel interface 8255A
Parallel interface 8255A
2022-06-30 12:03:00 【Hua Weiyun】
1 8255A function
- Three 8 Bit parallel input / Output port , It can be determined programmatically
- Can adapt CPU And I/O Requirements for multiple data transmission modes between interfaces
2 8255A Internal structure and pin diagram
8255A Yes 3 Ports ,40 One pin ,3 Ways of working
This is from the teacher's courseware 
Personally, I think the reference books are better

1) Data bus buffer
It's a two-way three state 8 Bit buffer , And CPU The system is connected to the data bus , yes 8255A And CPU The only way to transfer data between . input data 、 Output data 、 The control command words are transmitted through the data bus buffer .
2) Read write control logic
read / The write control logic receives data from CPU Address bus signals and control signals , And issue commands to two control groups (A Group and B Group ). It controls CPU Send the control command or output data to the corresponding port ; Or send the status of the peripheral or the input data from the corresponding port to CPU.
3)A Group and B Group control
A,B and C The way the three ports work is CPU By writing... To the control register A Group and B Group mode control word . port A And port C The height of 4 position (PC~7~-PC~4~.) constitute A Group , from A The group control unit controls it ; port B And port C It's low 4 position (PC~3~-PC~0~) constitute B Group , from B The group control unit controls it .

- port A:PA0~PA7
A Group , Support working methods 0、1、2 - port B:PB0~PB7
B Group , Support working methods 0、1 - port C:PC0~PC7
Only working mode is supported 0
A Group control high 4 position PC4~PC7
B Group control low 4 position PC0~PC3
3 8255A Control word
There are two control words , And write... To the same control port .
- Mode control word

- Set up / Reset control word

4 8255A Operation mode
The way 0: Basic input / Output mode
(1) Two 8 Bit port (A、B) And two 4 Bit port (C On 、 Next ) Can work in this way ;
(2) Any port can input / Output ;
(3) Output data latch , Input data does not latch ;
(4) The input of each port / The output can have 16 Combinations of .
It is suitable for unconditional transmission and query mode interface circuit .The way 1: Gate input / Output mode
(1) The way 1 Next , There are two sets of ports , Each group contains one 8 The number of digits depends on the mouth and 3 Control lines ;
(2) Each group of ports provides interrupt request logic and interrupt allow trigger ;
(3) Two sets of ports can work in the same mode 1;
(4) Input / All output data are locked .
Interface circuit for query and interrupt mode .
The way 2: Two way gated transmission mode
(1) This method can only be used for A Group ;
(2) In this way, there is a 8 Bit bidirectional data port and 5 A control line ;
(3) Input / All output data are locked .
Peripherals for two-way transmission of data .
5 8255A Interface with printer ( The way 0)
working process :
- The host sends the data to the pin DATA~0~~~7~;
- At the same time, the data strobe signal is sent STROBE ;
- The printer is BUSY A busy signal is sent on the signal line ;
- The printer cancels the busy signal after processing the data .
6 LED Nixie tube

- form
The main part is 7 Segment light emitting tube , Clockwise is called a、b、c、d、e、f、g, Some products also come with a decimal point h. - function
Can display 0~9, A~F, And some special characters , Such as -、P etc. . - Two structures


边栏推荐
- A High-Precision Positioning Approach for Catenary Support Components With Multiscale Difference阅读笔记
- MySQL 内置函数
- Cache avalanche and cache penetration solutions
- The first batch in China! Alibaba cloud native data Lake products have passed the evaluation and certification of the ICT Institute
- Shell first command result is transferred to the second command delete
- R language ggplot2 visualization: use ggplot2 to visualize the scatter diagram, and_ Set show in the point parameter_ The legend parameter is false, and the legend information is not displayed
- Multiparty Cardinality Testing for Threshold Private Set-2021:解读
- 8253计数器介绍
- Uncover the whole link communication process of customer service im
- 会议预告 | 华为 2012 实验室全球软件技术峰会-欧洲分会场
猜你喜欢
随机推荐
wallys/3×3 MIMO 802.11ac Mini PCIe Wi-Fi Module, QCA9880, 2,4GHz / 5GHzDesigned for Enterprise
【模式识别大作业】
Limited time appointment | Apache pulsar Chinese developer and user group meeting in June
After the node is installed in the NVM, the display is not internal or external when the NPM instruction is used
HMS Core音频编辑服务3D音频技术,助力打造沉浸式听觉盛宴
OpenMLDB Meetup No.4 会议纪要
Typescript readonlyarray (read only array type) details
Lucene全文检索工具包学习笔记总结
MySQL 复合查询
VScode选中多个单词
1020. 飞地的数量
重新理解oauth2.0协议进行联合登录
Flutter 从零开始 006 单选开关和复选框
shell第一个命令结果传入第二个命令删除
深入解析 Apache BookKeeper 系列:第四篇—背压
1254. 统计封闭岛屿的数目
爱可可AI前沿推介(6.30)
R language ggplot2 visualization: use ggplot2 to visualize the scatter diagram and use scale_ color_ viridis_ D function specifies the color scheme of data points
Object mapping - mapping Mapster
Database cascading operation













