-
em78806-modem
em78806单片机的汇编源程序,实现专用modem的功能,收发dtmf,fsk(em78806 SCM compilation source to achieve dedicated modem function, TX Pages. fsk)
- 2007-04-02 09:33:51下载
- 积分: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
-
Wiegand_led
wiegand protocol. C++ project.Leds for Attiny
- 2012-01-27 04:20:37下载
- 积分:1
-
KEY
类似电脑键盘组合按键触发的功能。利用51单片机实现。有两个独立按键,当把两个独立按键都按下后,蜂鸣器发出“滴”的一声后就停。直到松开任一个按键后,才能重新进行下一次的组合按键触发。(Similar to the function of the keyboard combination of keys. The use of 51 single chip microcomputer. There are two independent buttons, when the two independent buttons are pressed, the buzzer issued a drop of sound after the stop. Until after the release of any key, the next combination of keys can be re trigger.
)
- 2015-07-08 14:41:15下载
- 积分:1
-
omap3530
omap3530 led,寄存器,GPIO,ad 转换的驱动(the driver of omap 3530 led ,seg,GPIO, ad transmition)
- 2012-04-16 19:43:59下载
- 积分:1
-
xunhuanma
简明的循环码C++编译程序,有二种编码方案可以采取(Condensed a cyclic code C++ compiler, there are two kinds of coding schemes can be taken)
- 2013-03-04 19:18:23下载
- 积分:1
-
DS18B20
单总线温度DS18b20程序,适用于AVR单片机。(Single-bus temperature DS18b20 procedures applicable to the AVR microcontroller.)
- 2013-12-20 17:00:36下载
- 积分:1
-
11
说明: 两脉冲频率平均值计算 两脉冲频率平均值计算 两脉冲频率平均值计算(Two pulse frequency average of the two pulse frequency average of two average pulse frequency)
- 2013-04-24 20:02:03下载
- 积分:1
-
手势5
说明: 基于stm32的手势识别代码,可识别数字和石头剪刀布,内含蓝牙、语音等多种模块(Gesture recognition code based on STM32 can recognize numbers and stone scissors, including bluetooth, voice and other modules)
- 2020-06-20 22:20:01下载
- 积分:1
-
help-
一份直立车模调试指南,只要有点单片机基础的都可以看懂,从传感器介绍到数据处理,滤波,到姿态的计算。。。能带给你很大的用处(An upright Cars commissioning guide, just a bit microcontroller based can understand, from the sensor introduced to data processing, filtering, to the attitude of the calculations. . . Can bring you a lot of useful)
- 2014-08-19 18:12:29下载
- 积分:1