cancel
Showing results for 
Search instead for 
Did you mean: 

RS485 non standard data word

tasifacij
Associate II

Hi,

uc: stm32f446

 

I have a question regarding non standard word length over RS485.

I need to receive next frame over RS485

tasifacij_0-1728024568708.png

1 start bit, 16-bit data word, 2 stop bits, in total 19 bits.

UART implementation allows to receive 8 or 9-bit data words.

Could you please advice what can be an approcach to achieve?

 

Best regards, Taras.

 

1 REPLY 1

You can't receive this using the native UART in 'F4, so you need to resort to bit-banging, possibly using timer interrupts.

JW