-
EMA
中_大功率EMA伺服控制技术与动态性能研究(EMA in power and dynamic performance servo control technology research)
- 2013-12-04 23:01:59下载
- 积分:1
-
hv_s
IMPORTANT FOR HIGH VOLTAGE EXPERIMENTS IN PSCAD AND PSPICE
- 2014-11-25 15:51:47下载
- 积分:1
-
DoubledImplement2
The maximum number of bytes that can be read from the stream.
- 2014-01-22 14:27:30下载
- 积分:1
-
遥控小车
说明: 手机遥控小车,蓝牙连接,电机正反转,LED(Mobile phone remote control car, Bluetooth connection)
- 2021-03-03 14:50:59下载
- 积分:1
-
MPU6050_DMP6
利用Arduino实现读取MPU6050的DMP四元数(Arduino MCU reads MPU6050 use a DMP quaternion)
- 2013-08-28 14:57:56下载
- 积分:1
-
FlexRay
说明: FlexRay通信协议中文版 适用于CAN的进阶教学(FlexRay Communication Protocol Chinese Version Applicable to Advanced Teaching of CA)
- 2019-01-07 18:52:21下载
- 积分:1
-
ADXL345
三轴加速度传感器ADXL345的驱动程序,基于STM32F4.(Triaxial accelerometer ADXL345 drivers, based STM32F4.)
- 2014-02-09 14:33:25下载
- 积分:1
-
传送指令MOV的学习程序
传送指令MOV的学习程序,三菱PLC控制程序(A learning program for sending instruction MOV)
- 2018-04-03 15:11:33下载
- 积分:1
-
PCA--stm32
stm32F410X PCA例程,Stm32F410x很好的学习资料(Stm32F410X PCA routines, stm32F410X very good learning material
)
- 2012-08-08 10:52:44下载
- 积分: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