-
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
-
SIGMA
SIGMA-DELTA 原理 实现的用LPC900系列单片机的比较器实现16位A/D。 有详细的说明和源代码(汇编格式,但是可以在KEIL下的C中调用)。-SIGMA-DELTA principle achieved using the LPC900 Series compared to 16-bit A/D. A detailed description and the source code (the compilation format, but in the C KEIL Calling).
- 2022-07-26 04:45:00下载
- 积分:1
-
随着精准农业的发展,农业种植和农业研究人员需要一种手持式NDVI测量仪,以便对农作物长势进行定量测量。本文讨论了一种手持式NDVI测量仪的完整设计过程,详细论述...
随着精准农业的发展,农业种植和农业研究人员需要一种手持式NDVI测量仪,以便对农作物长势进行定量测量。本文讨论了一种手持式NDVI测量仪的完整设计过程,详细论述了设计原理,并给出了详尽的单片机程序、设计电路原理图及PCB图。该NDVI测量仪采用太阳光作为光源,光电探测器采用滤光片和光敏二极管实现,用AT89C51单片机控制。其具有结构简单、成本低、轻便、低功耗的特点。-With the development of precision agriculture and farming, and agricultural researchers need a handheld NDVI measuring instrument, in order to crop growth for quantitative measurement. This paper discusses a handheld meter NDVI the integrity of the design process, discussed in detail the design principles, and gives a detailed SCM procedures, circuit schematics and PCB plans. The NDVI measuring instrument used sunlight as a light source, photodetector using filters and photodiode realized, with AT89C51 control. Its structure is simple, low cost, lightweight, low-power characteristics.
- 2022-01-25 19:26:40下载
- 积分:1
-
洗衣机程序 普通的家用洗衣机的大部分功能都可以实现 但其中有更好的设计 望指教...
洗衣机程序 普通的家用洗衣机的大部分功能都可以实现 但其中有更好的设计 望指教-not very important
- 2022-08-12 22:34:20下载
- 积分:1
-
For intelligent transportation equipment, WW
用于智能公交设备的WW-989,用STC89C2051控制串口芯片与4094的源程序,非常好用哦-For intelligent transportation equipment, WW-989, with serial STC89C2051 control chip and the source 4094 is very easy to use, oh
- 2022-03-21 22:39:29下载
- 积分:1
-
AT24C64程序
AT24C64程序-AT24C64 procedures
- 2022-01-26 06:11:03下载
- 积分:1
-
AT29C040 in MCU that the application enables users to quickly achieve the requir...
AT29C040在单片机中的应用不仅能使用户快速地实现所需功能,而且电擦除的方式为程序和数据的存储和更新提供了方便,随着闪速存储器器件朝着容量越来越大、工作电压越来越低、支持共同的接口标准的方向发展,闪速存储器硬件接口和软件设计将越来越容易。 -AT29C040 in MCU that the application enables users to quickly achieve the required functions, but also-- in the form of erasure and data storage and update provides a convenient, as Flash memory devices towards increasing capacity, low voltage increasingly support a common interface standard direction, Flash memory interface hardware and software design will become increasingly vulnerable.
- 2023-06-02 06:55:04下载
- 积分:1
-
华邦单片机的红外发送源码,已经投入生产。其中的功能主要是把信息通过红外发送到上位机。...
华邦单片机的红外发送源码,已经投入生产。其中的功能主要是把信息通过红外发送到上位机。-Winbond MCU send infrared source has been put into production. The main function of which is to send information through the infrared to the host computer.
- 2022-04-09 09:10:29下载
- 积分:1
-
查找字符串中含有7e的代码用于传感器节点的解包
查找字符串中含有7e的代码用于传感器节点的解包-Find a string containing the code for 7e sensor nodes unpack
- 2022-06-27 11:28:33下载
- 积分:1
-
C8051F06X单片机编程,DAC模块代码
C8051F06X单片机编程,DAC模块代码-C8051F06X Microcontroller Programmer, DAC module code
- 2022-02-05 19:20:00下载
- 积分:1