-
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
-
单片机 时钟程序,包含秒表,闹钟,时间三个功能
单片机 时钟程序,包含秒表,闹钟,时间三个功能-MCU clock.c
- 2022-02-02 09:34:14下载
- 积分:1
-
51单片机对SPLC501写的ASM程序
51单片机对SPLC501写的ASM程序-51 micro SPLC501 procedures written in ASM
- 2022-07-10 14:59:56下载
- 积分:1
-
利用单片机实现的控制电梯系统,参考2004年湖北省大学生电子设计竞赛原题设计。
利用单片机实现的控制电梯系统,参考2004年湖北省大学生电子设计竞赛原题设计。-Realize the use of single-chip control of elevator systems, a reference in 2004 in Hubei Province Undergraduate Electronic Design Contest Design the original title.
- 2022-11-13 14:10:03下载
- 积分:1
-
- 2022-08-14 13:29:05下载
- 积分:1
-
该程序主要实现通过74ls164实现串行驱动LED并显示,这种显示方法的LED量度较大...
该程序主要实现通过74ls164实现串行驱动LED并显示,这种显示方法的LED量度较大-the main procedures adopted 74ls164 Serial LED driver and showed that This method showed a larger measure of LED
- 2022-03-02 11:21:37下载
- 积分:1
-
cold light source products controller HT48R series and HT48E Series
冷光源 产品的控制器 HT48R系列和HT48E系列-cold light source products controller HT48R series and HT48E Series
- 2022-04-10 16:29:26下载
- 积分:1
-
在TMS320的C2000系列DSP上实现CAN总线的模块
在TMS320的C2000系列DSP上实现CAN总线的模块-in the C2000 series TMS320 DSP to achieve CAN module
- 2022-09-27 15:00:03下载
- 积分:1
-
TC35GSM模块操作C51子程序,项目用的,少加修改就可以应用于开发和学习!...
TC35GSM模块操作C51子程序,项目用的,少加修改就可以应用于开发和学习!-C51 subprogram module TC35GSM operation, the project used, less can be used without modification on the development and learning!
- 2022-03-29 14:55:50下载
- 积分:1
-
LT_1B msp430开发板例子程序-T3
LT_1B msp430开发板例子程序-T3
- 2022-06-17 01:22:06下载
- 积分:1