cancel
Showing results for 
Search instead for 
Did you mean: 

RS485 Driver Enable - DEAT and DEDT no effect

PVero.1
Associate

Hi Guys,

STM32L475RGTX

I have a device whith USART2 (PA2 and PA3) connected to a RS485 transceivers and i would like use the PA1 pin as DE, as below:

0693W00000Y7wulQAB.png 

This works correctly and the DE PIN is toggoled correctly.

From the reference manual, I have seen that I can set the DEAT and DEAD fileds in the USART_CR1 register which should raise/lower DE with a certain advance/delay.

0693W00000Y7wvUQAR.pngAlthough I set these registers to the maximum value however I don't see any difference on the oscilloscope, I am attaching a screen:

0693W00000Y7ww8QAB.pngDo you have any idea what could be the reason? I am also attaching the project files.

Thank you for the support!

1 REPLY 1

Read out and check/post UART registers' content.

JW