Replies: 1 comment 1 reply
-
|
additional question, what is the difference between |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So, due to a mistake i ended up wiring a WS2812 bus to PD8 on STM32F473VET6, which has no SPI, I2S or PWM capability, it only has UART3 TX. While searching whether it would be possible to use UART3 for generating the bitstream i came across two information, first STM32CubeMX tells the max baudrate is 1Mbps. Second, a rust library has been written to control WS2812 from STM32 UART and it sets the UART at 3.75Mbps.
https://docs.rs/crate/ws2812-uart/0.2.0/source/src/lib.rs
So, is there anything that prevents to set the baud rate to 3750000 with the current arduino wrapper or HAL API?
Here is what i did so far and it does not work well
i tried to set the baudrate with begin and with direct register access, setting oversampling to 8.
I tried to add 60 and then 80us delay for reset pulse, and no delay.
The best i could get was washed up colors and 15 LED lighted instead of 14, it was with a different bit pattern system, BRR around 65, and 80us reset wait
Beta Was this translation helpful? Give feedback.
All reactions