-
SPI是一个环形总线结构,由ss(cs)、sck、sdi、sdo构成,其时序其实很简单,主要是在sck的控制下,两个双向移位寄存器进行数据交换。
假设下面...
SPI是一个环形总线结构,由ss(cs)、sck、sdi、sdo构成,其时序其实很简单,主要是在sck的控制下,两个双向移位寄存器进行数据交换。
假设下面的8位寄存器装的是待发送的数据10101010,上升沿发送、下降沿接收、高位先发送。
那么第一个上升沿来的时候 数据将会是sdo=1;寄存器=0101010x。下降沿到来的时候,sdi上的电平将所存到寄存器中去,那么这时寄存器=0101010sdi,这样在8个时钟脉冲以后,两个寄存器的内容互相交换一次。这样就完成里一个spi时序。
-SPI bus is a ring structure, by ss (cs), sck, sdi, sdo composition, its timing is actually very simple, mainly under the control of the sck and two bi-directional shift register for data exchange. Assuming the following 8-bit register is loaded to send the data to be 10,101,010, rising to send, receive falling edge, high first sent. Well, the first rising edge to the time data will be sdo = 1 register = 0101010x. Falling edge comes, sdi on the level will be stored to the register, then register at this time = 0101010sdi, so 8 clock pulse later, the contents of two registers to exchange time. This will be completed in a spi timing.
- 2022-02-06 05:39:49下载
- 积分:1
-
两个控制595的小程序。保证大家看后可以非常容易的学会使用它以及其他串进并出等器件...
两个控制595的小程序。保证大家看后可以非常容易的学会使用它以及其他串进并出等器件-595 small two control procedures. To ensure that we can very easily look at the Institute of string to use it, as well as other devices, such as into and out of
- 2022-06-29 07:33:19下载
- 积分:1
-
该程序是将18B20测得的温度值经单片机处理后在数码管上显示,比较适合单片机初学者使用。...
该程序是将18B20测得的温度值经单片机处理后在数码管上显示,比较适合单片机初学者使用。-The program is 18B20 measured temperature value has been processed in the digital control microcomputer displays are more suitable for beginners to use microcontroller.
- 2022-03-17 20:03:56下载
- 积分:1
-
文件系统的基本操作程序,与硬件无关,支持FAT12/FAT16/FAT32
文件系统的基本操作程序,与硬件无关,支持FAT12/FAT16/FAT32-File system
- 2023-01-29 08:15:03下载
- 积分:1
-
基于51系列单片机的模数转换ADC0804的应用
正在学习单片机,编来...
基于51系列单片机的模数转换ADC0804的应用
正在学习单片机,编来-based on the 51 Series MCU ADC0804 analog-to-digital conversion applications are learning microcontroller series to try
- 2022-07-24 02:22:21下载
- 积分:1
-
关于LCD12864液晶驱动的源程序,编译过,可直接使用。
关于LCD12864液晶驱动的源程序,编译过,可直接使用。-On the LCD-driven LCD12864 source, compiler, and can be used directly.
- 2022-10-29 06:05:04下载
- 积分:1
-
单片机开发类网站集锦
单片机开发类网站集锦-MCU Development website Collection
- 2022-03-02 01:55:43下载
- 积分:1
-
基于51单片机的电压调节系统,可以实时显示电压值。用keil开发环境,protuse仿真。...
基于51单片机的电压调节系统,可以实时显示电压值。用keil开发环境,protuse仿真。-Based on 51 single-chip voltage regulation system that can display real-time voltage value. Keil development environment with, protuse simulation.
- 2023-08-23 14:50:05下载
- 积分:1
-
从官方网站获得的CanOpen通讯协议的全部资料,已经按照内容更改文件名,这是最全的协议了...
从官方网站获得的CanOpen通讯协议的全部资料,已经按照内容更改文件名,这是最全的协议了-Obtained from the official website of the All CanOpen communications protocol has been changed in accordance with the contents of the file name, which is most of the protocol
- 2022-06-19 22:15:47下载
- 积分:1
-
电子万年历 已经过实物检测,完整的毕业论文。而且附带毕业论文,源程序。ds18b20 实例应用...
电子万年历 已经过实物检测,完整的毕业论文。而且附带毕业论文,源程序。ds18b20 实例应用-Calendar has been kind of electronic detection, a complete thesis. And incidental thesis, the source code. Examples of applications DS18B20
- 2022-02-25 21:53:19下载
- 积分:1