-
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
-
用于测试步进电机,也用于控制步进电机来测试传感器等
用于测试步进电机,也用于控制步进电机来测试传感器等
- 2022-01-22 08:11:27下载
- 积分:1
-
这是运用MSP430 单片机对字符行LCD 显示屏的驱动程序
这是运用MSP430 单片机对字符行LCD 显示屏的驱动程序-This is the use of characters MSP430 line LCD display driver
- 2022-06-12 12:25:24下载
- 积分:1
-
是protel的讲义,应该有利于大家的学习
是protel的讲义,应该有利于大家的学习-Yes protel lectures, should be conducive to our learning
- 2023-07-20 05:00:04下载
- 积分:1
-
77E516 dual serial Demonstration Program, the same applies to 77E58. Dual Serial...
77E516的双串口演示程序,同样适用于77E58.双串口最佳示例代码-77E516 dual serial Demonstration Program, the same applies to 77E58. Dual Serial best sample code
- 2022-04-23 17:39:23下载
- 积分:1
-
这是一款128 * 64液晶显示屏的俄罗斯方块游戏,使用的是独一无二的代码
这是一个用128*64液晶显示的俄罗斯方块游戏,代码独特,用的是52单片机。-This is a 128* 64 LCD display Tetris games, unique code, using a single-chip microcomputer 52.
- 2022-10-04 02:50:03下载
- 积分:1
-
液晶模块LCD1602中文资料。有需要的朋友请下载
液晶模块LCD1602中文资料。有需要的朋友请下载-Chinese information LCD1602 LCD module. Friend in need, please download
- 2022-07-25 01:41:23下载
- 积分:1
-
基于16位单片机的符合osek标准的操作系统,在freescale的16位单片机上调试通过...
基于16位单片机的符合osek标准的操作系统,在freescale的16位单片机上调试通过-Based on 16-bit MCU line with the OSEK operating system standard, in the Freescale 16-bit single-chip debugging through
- 2023-07-04 19:15:03下载
- 积分:1
-
本库函数为大容量(2M)Flash SST25VF016B的驱动函数 包括IO模拟SPI总线方式和C8051F020硬件SPI方式下的驱动 函数接口简单易用 代...
本库函数为大容量(2M)Flash SST25VF016B的驱动函数 包括IO模拟SPI总线方式和C8051F020硬件SPI方式下的驱动 函数接口简单易用 代码规范简洁-The library functions for large-capacity (2M) Flash SST25VF016B driver function including IO simulation SPI bus mode and SPI mode C8051F020 hardware driver function interface specification concise easy-to-use code
- 2022-07-27 01:12:55下载
- 积分:1
-
MSP430FE42X multi
MSP430FE42X复费率电表DEMO(编译器 IAR 3.42A)-MSP430FE42X multi-rate meter DEMO (compiler IAR 3.42A)
- 2022-01-25 17:25:02下载
- 积分:1