-
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
-
ds18b20
avr单片机驱动 atmega169
ds18b20
avr单片机驱动 atmega169-ds18b20 avr single-chip driver atmega169
- 2022-10-22 20:05:04下载
- 积分:1
-
keilc51 environment compiled through a procedure call can be directly
keilc51 环境下编译通过了的程序,可直接调用-keilc51 environment compiled through a procedure call can be directly
- 2022-12-07 02:40:03下载
- 积分:1
-
串口通讯经典使用程序6,以前收集整理的东东,希望对大家有用!...
串口通讯经典使用程序6,以前收集整理的东东,希望对大家有用!-Serial Communication Classic to use the program 6, previously collected Dongdong finishing the hope for all of us!
- 2022-11-07 12:10:03下载
- 积分:1
-
LPC2100上的串口函数的实现,ADS编译
LPC2100上的串口函数的实现,ADS编译-LPC2100 on the serial port function realize, ADS compiler
- 2022-04-17 12:36:18下载
- 积分:1
-
MS-51 高级应用程序库,欢迎各位大虾下载交流分享,望多多上传,资源共享-MS-51 high-level application library, to welcome you to download the exchange of shrimp to share, hope lot of uploading and sharing resources
- 2023-04-16 03:00:03下载
- 积分:1
-
atmega16 measuring voltage source, suitable for beginners AVR Microcontroller
atmega16测电压源码,适合AVR单片机的初学者-atmega16 measuring voltage source, suitable for beginners AVR Microcontroller
- 2022-02-14 00:53:22下载
- 积分:1
-
430成都技术培训会代码,使用IAR
430成都技术培训会代码,使用IAR-4.10打开。-430 technical training in Chengdu will be the code, the use of IAR-4.10 open.
- 2022-05-29 01:44:43下载
- 积分:1
-
此程序为飞思卡尔智能车校内选拔赛主控为STC51单片机的初始程序...
此程序为飞思卡尔智能车校内选拔赛主控为STC51单片机的初始程序-This is a smart car in schools Freescale trials STC51 SCM control for the initial procedure
- 2022-05-05 18:51:22下载
- 积分:1
-
基于MEGA8单片机的AVR单片机STK500编程器源代码(GCC编译器),改软件完全实现ATMEL STK500协议...
基于MEGA8单片机的AVR单片机STK500编程器源代码(GCC编译器),改软件完全实现ATMEL STK500协议-based MEGA8 SCM STK500 AVR Programmer for the source code (GCC compiler ), completely changed the software to achieve agreement ATMEL STK500
- 2022-05-04 22:22:08下载
- 积分:1