-
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
-
serial Function Set Easy
serial函数集 好用-serial Function Set Easy
- 2022-02-15 07:01:11下载
- 积分:1
-
software MPLAB...
writing program (coding .c/.h)
software MPLAB...
writing program (coding .c/.h)
-software MPLAB...
writing program (coding .c/.h)
- 2022-08-24 17:55:09下载
- 积分:1
-
stm32f103 cortex_m3
sd卡操作例程
stm32f103 cortex_m3
sd卡操作例程-stm32f103 cortex_m3sd card routine operation
- 2022-05-07 23:07:32下载
- 积分:1
-
51单片机的 中文拼音输入法 C源程序
51单片机的 中文拼音输入法 C源程序-51 MCU Chinese Pinyin input method C source
- 2023-05-12 04:00:03下载
- 积分:1
-
HomePlug solutions to the latest firmware, for your reference
HomePlug解决方案的最新firmware,供大家参考-HomePlug solutions to the latest firmware, for your reference
- 2022-03-11 16:25:47下载
- 积分:1
-
这是一个基于51系列单片机的超声波测距程序 解压不需要密码....
这是一个基于51系列单片机的超声波测距程序 解压不需要密码.-This a microcontroller based on the Series 51 Ultrasonic Ranging decompression procedures without a password.
- 2022-01-25 15:10:30下载
- 积分:1
-
实现简单的串口传输工作! 有数据检验,汇编程序!
实现简单的串口传输工作! 有数据检验,汇编程序!-Realize a simple serial transmission work! Have data verification, compilation procedures!
- 2022-03-11 00:43:01下载
- 积分:1
-
LINUX智能手机手机MOTOROLA E2 图形接口源码
LINUX智能手机手机MOTOROLA E2 图形接口源码-LINUX smartphone MOTOROLA E2 mobile phone graphics interface source
- 2022-03-23 09:55:56下载
- 积分:1
-
X5045 chip watchdog 51 code, with a look at the entrance features, and EE chip t...
x5045看门狗芯片51代码,具有看门口功能,和片内EE读写程序-X5045 chip watchdog 51 code, with a look at the entrance features, and EE chip to read and write procedures
- 2022-08-15 15:58:27下载
- 积分:1