- 11
- 0
- 约1.84万字
- 约 16页
- 2017-07-24 发布于河南
- 举报
can、i2s、i2c、spi、ssp总线简介(Brief introduction of can, I2S, I2C, SPI and SSP bus)
can、i2s、i2c、spi、ssp总线简介(Brief introduction of can, I2S, I2C, SPI and SSP bus)
Brief introduction of CAN, I2S, I2C, SPI and SSP bus
I. SPI bus description
Serial peripheral interface SPI (serial peripheral interface) bus technology is a synchronous serial interface of Motorola Corporation and Motorola company production of the vast majority of MCU (micro controller) are equipped with SPI hardware interface, such as the 68 series MCU. SPI is used in CPU for full duplex and synchronous serial communication with various peripheral devices. SPI can send and receive serial data at the same time. It is only four lines of MCU can be completed with a variety of peripheral devices of the communication, the four lines are: serial clock line (CSK), input / output data from the host machine line (MISO), the output / input data from the host machine line (MOSI), active low select line CS from the machine. These peripheral devices can be simple TTL shift registers, complex LCD display drivers, A/D, D/A conversion subsystems, or other MCU. When SPI works in the shift register data bit from the output pin (MOSI) output (high first), at the same time from the input pin (MISO) data received by the displacement to the shift register (high front). After sending a byte, the byte data received from another peripheral device is moved into the shift register. The main SPI clock signal (SCK) enables synchronization of transmissions. The typical system diagram is shown below.
The main features of SPI are: it can send and receive serial data at the same time;
Can work as host or slave;
Provides a programmable clock frequency;
End of transmission interrupt flag;
Write conflict protection;
Bus contention protection etc..
Figure 2 shows the four ways in which the SPI bus works, with the most widely used methods of SPI0 and SPI3 (solid line representation):
In order to exchange data with the peripheral, the SPI module can configure its output, serial synchronization, clock polarity and phase accor
您可能关注的文档
- freeglut安装(freeglut安装).doc
- fttblan宽带小区的几种布线设计方法(Several routing design methods for fttblan broadband cell).doc
- fpga设计实用经验(Practical experience in FPGA design).doc
- fusionchart问题(fusionchart问题).doc
- g13 自带服务列表(G13 brings a list of services).doc
- gamemaker dll使用说明(使用说明GameMaker DLL).doc
- g71(g71).doc
- gb_proe_config_工程图配置文件(把后缀改为dtl直接导入)(Gb_proe_config_ project diagram configuration file (change the suffix to DTL direct import)).doc
- gdi system_百度百科(gdi system _ 百度百科).doc
- gdp国内生产总值(GDP gross domestic product).doc
- 2025广东广州市天河区拟招聘英语实习老师1人备考题库附答案.docx
- 2025广东广州市天河区城市管理第二保洁所招聘编外工作人员4人笔试备考试卷附答案解析.docx
- 2025广东广州市越秀区流花街道办事处招聘综合事务中心辅助人员1人笔试历年题库附答案解析.docx
- 2025广东广州市花都区新雅街清初级中学招聘临聘教师1人备考历年题库带答案解析.docx
- 2025广东广州市天河区城市管理第二保洁所招聘编外工作人员4人笔试备考试卷带答案解析.docx
- 江苏省盐城市东台市三仓镇区中学2026届八年级数学第一学期期末教学质量检测试题含解析.doc
- 2025广东广州市天河区城市管理第二保洁所招聘编外工作人员4人备考题库带答案解析.docx
- 江苏省盐城市亭湖区2026届数学八上期末考试试题含解析.doc
- 安徽省蚌埠市淮上区2026届数学八年级第一学期期末达标检测模拟试题含解析.doc
- 2025广东广湛城旅游轮有限公司招聘备考历年题库附答案解析.docx
原创力文档

文档评论(0)