Skip to main content
Associate III
Mar 7, 2023 11:33 AM UTC
Question

STM32 USART1 in single-wire half-duplex

0693W00000aIND8QAO.pngi need to transmit above given example data using single-wire half-duplex communication.

if you known any one help me.

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
Mar 7, 2023 11:56 AM UTC

Doesn't look like a standard UART serial form. Looks more Manchester or PWM encoded. For transmission I'd perhaps use the TIM, or DMA+GPIO pattern buffer.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Javier1
Principal
Mar 7, 2023 3:49 PM UTC

If you need to transmit only, take a look at any implementation of the WS2812B protocol , what youre trying to accomplish looks very similar

here is mine:

https://www.hackster.io/javier-munoz-saez/coding-your-own-neopixel-driver-baremetal-stm32-b6b4d0

hit me up in https://www.linkedin.com/in/javiermuñoz/
Associate III
Mar 8, 2023 5:18 AM UTC

@Community member​  and @Javier Muñoz​ 

thank you for your comments this is very useful.