-
STM32F334_LLC_SR
stm32用于软开关谐振电源LLC的设计,130K谐振频率(Stm32 is used to control resonance LLC soft switching power supply , 130k frequency)
- 2017-11-14 11:56:39下载
- 积分:1
-
main
说明: AD7175-2 24位ADC采集 stm32f103(Ad7175-2 24 bit ADC acquisition stm32f103)
- 2021-02-03 14:59:58下载
- 积分: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
-
WindowsFormsApplication1
可以实现上位机和下位机之间的串口通信,收发正常,一个简单的串口助手,应该没问题,希望和大家一起讨论。(Can achieve serial communication between the host computer and the lower computer, send and receive normal, a simple serial assistant, it should be no problem, and we hope to discuss together.)
- 2015-08-26 19:48:34下载
- 积分:1
-
Arduino-PS2X-master
Arduino ps2 master...
- 2019-01-13 17:19:18下载
- 积分:1
-
chaoshengbo
说明: 超声波测量电路设计利用超声波来实现距离、速度、流量、浓度等的检测 ,具有其他检测方法无法比拟的显
优点。(Using ultrasonic ultrasonic measuring circuit to achieve distance, speed, flow, concentration of detection, other detection methods have significant advantages unmatched.)
- 2010-04-19 13:23:41下载
- 积分:1
-
AT24C128_256
at24c128和at24c256的详细资料PDF,非常好。(At24c128 and at24c256 details PDF, is very good.
)
- 2015-12-08 17:08:55下载
- 积分:1
-
AT24C02
说明: 单片机中IIC总线的应用,AT24C02的一个基本例子(IIC bus, microcomputer application, AT24C02 is a basic example of)
- 2010-03-31 12:51:28下载
- 积分:1
-
corrtime
ntp客户端连接, 嵌入式C, 通过ntp服务器同步并更新本地时间,同步,计算,修改
ntp客户端连接, 嵌入式C, 通过ntp服务器同步并更新本地时间,同步,计算,修改(syncronize with time server.
syncronize with time server.)
- 2019-04-25 14:47:01下载
- 积分:1
-
CAN
说明: STM8S208单片机 can口驱动程序(STM8S208 can port driver)
- 2010-03-22 20:58:50下载
- 积分:1