-
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
-
FSK通信编程,等等,2051系列的使用,嘲笑你。
FSK通信的编程等等,使用2051编的,有模拟UART.-FSK communications programming, and so on, the use of the 2051 series, to mock UART.
- 2022-01-26 07:13:20下载
- 积分:1
-
I tested the LCD driver compilation procedures, applicable to all non
我测试通过的液晶驱动汇编程序,适用于所有不带字库的液晶,如CA12864A-I tested the LCD driver compilation procedures, applicable to all non-character LCD, as CA12864A
- 2022-07-07 07:16:35下载
- 积分:1
-
msp430f169 DMA操作 msp430f169有丰富的片内资源其中dma可以使各个模块在cpu关闭的情况下仍能相互联系...
msp430f169 DMA操作 msp430f169有丰富的片内资源其中dma可以使各个模块在cpu关闭的情况下仍能相互联系
- 2022-03-12 10:28:30下载
- 积分:1
-
单片机C语言编写的电子密码锁,可以自己设置密码
单片机C语言编写的电子密码锁,可以自己设置密码-Single-chip C language electronic locks can be their own password
- 2022-08-25 11:56:48下载
- 积分:1
-
本讲义介绍单片机的8个应用例子,来说明如何应用已经学到的知识,结合具体对象的特殊要求,设计单片机的应用电路,阐述单片机的应用方法和设计步骤。...
本讲义介绍单片机的8个应用例子,来说明如何应用已经学到的知识,结合具体对象的特殊要求,设计单片机的应用电路,阐述单片机的应用方法和设计步骤。
-the overhead introduced SCM eight Application examples to illustrate how to apply the knowledge learned. with the specific object of the special requirements, design the application MCU circuit, described the SCM application and design steps.
- 2022-03-19 20:44:20下载
- 积分:1
-
pj working with a compiler
pj working with a compiler
- 2023-05-25 18:30:03下载
- 积分:1
-
C8051F120 ISP下载程序,通过串口可以更新程序,金…
C8051F120 ISP下载程序,通过串口可以更新程序,实现硬件的自动升级,更新程序大小为62KB-C8051F120 ISP download programs through the serial port can update procedure, automatic hardware upgrades, updates size is 62KB
- 2023-07-20 03:10:03下载
- 积分:1
-
6029lcd驱动显示程序,直接可以运用的
6029lcd驱动显示程序,直接可以运用的-6029lcd drive display program, could be used directly
- 2022-08-08 10:54:20下载
- 积分:1
-
MipsCPU based on the UART communication procedures, in the u
基于MipsCPU的UART通讯程序,在u-boot下运行。-MipsCPU based on the UART communication procedures, in the u-boot run.
- 2022-01-25 13:59:45下载
- 积分:1