-
atmega128_pcf8563
说明: 利用ATmega128控制实时日历时钟PCF8563(Control the use of real-time calendar clock PCF8563 ATmega128)
- 2011-03-02 14:38:04下载
- 积分:1
-
8051Pproteus-125
《单片机C语言程序设计实训100例——基于8051+Proteus仿真》案例压缩包 第 03 篇 综合设计 25 用ADC0808设计的调温报警器(" Microcontroller C Programming Language Training 100 cases- based on 8051+ Proteus simulation," Case No. 03 compressed package integrated design 25 designed thermostat with alarm ADC0808)
- 2011-08-02 20:49:25下载
- 积分:1
-
SPI
基于LPC2131的SPI编程驱动,主机方式,查询方式(LPC2131-based programming of the SPI driver, host mode, query the way)
- 2007-08-22 16:28:45下载
- 积分:1
-
【19】DMA PWM WS2812 GPIO输出16组
STM32作为主控芯片,72Mhz,利用DMA+PWM实现驱动WS2812,创建16个并行800kBit / s数据流的想法如下:
使用定时器每1.25us创建一个800kHz的时基和一个DMA请求。
使用2个比较模块在低位时间(350ns)和高位时间(700ns)下创建DMA请求
1.25us DMA请求将GPIO端口的所有位设置为高电平
350ns DMA请求将数据从帧缓冲区传输到GPIO端口。如果该位为0,GPIO引脚将变为低电平,否则将保持高电平。
700ns DMA请求将所有GPIO引脚设置为低电平。
重复步骤1到3,直到发送所有位。
这产生脉冲周期为1.25us,脉冲宽度为350ns或700ns的脉冲流,具体取决于脉冲表示的位值,通过DMA将数据传输到GPIO端口意味着每16个LED每位需要一个字(两个字节)。每个LED 24位,每16个LED 24个字(48个字节)。(The idea to create 16 parallel 800kBit/s data streams is the following:
Use a Timer to create an 800kHz time base and a DMA request every 1.25us.
Use 2 compare modules to create DMA requests at the low bit time (350ns) and the high bit time (700ns)
The 1.25us DMA request sets all bits of the GPIO port high
The 350ns DMA request transfers the data from the frame buffer to the GPIO port. If the bit is a 0, the GPIO pin will go low, otherwise it will stay high.
The 700ns DMA request sets all GPIO pins low.
Repeat steps 1 to 3 until all bits have been transmitted.
This creates a stream of pulses with a pulse period of 1.25us and a pulse width of either 350ns or 700ns depending on the bit value the pulse represents.
Transferring the data via DMA to the GPIO port means that per 16 LEDs one half word (two bytes) is needed per bit. At 24 bits per LED that makes 24 half words (48 bytes) per 16 LEDs.)
- 2020-12-15 10:49:13下载
- 积分:1
-
JASK1000-CC1100(STC89C52)
说明: 51单片机控制cc1100模块发送数据,单片机信号89c52(SCM cc1100 module 51 to send data signals 89c52 microcontroller)
- 2011-03-01 13:12:10下载
- 积分:1
-
CHAOS
混沌电路设计思路课件!!!!!!!!!!!!!!!(Chaotic circuit design software! ! ! ! ! ! ! ! ! ! ! ! ! ! !)
- 2009-05-20 15:27:26下载
- 积分:1
-
STM32F10Xgjhsk_jb51
说明: freeRTOS stm32103 stm32 F1054
- 2020-06-20 03:40:01下载
- 积分:1
-
实现了tm4c1294的硬件i2c通信
说明: 实现了tm4c1294的硬件i2c通信,很方便(The hardware I2C communication of tm4c1294 is realized)
- 2020-06-19 02:20:01下载
- 积分:1
-
代码RTCC_I2C_MCSET_FJ11_B06
说明: 用PIC18FJ11单片机开发实时时钟芯片的实例代码,完整代码。(whole source code of using PIC18FJ11 and RTCC chip.)
- 2020-02-22 22:05:15下载
- 积分:1
-
demo-of-ZigBee2004-stack
cc2430无线射频模块(基于ZigBee2006)的2004协议栈的演示程序和使用说明,刚开始学习或接触ZigBee的朋友可以借此来学习。(cc2430 RF module (based on ZigBee2006) of the 2004 protocol stack demo program and instructions for use, just learning or exposure to ZigBee' s friends can learn.)
- 2011-05-08 22:26:24下载
- 积分:1