2022-03-11 04:18 AM
Hi,
I'm designing a board in which the communication between STM32 and the host is UART over LVDS. So RS232 transceiver is not used in the design.
And we want to upgrade STM32 firmware remotely through the UART LVDS interface by the host.
But according to AN2066 page 38, the hardware requirement to use USART is through RS232 transceiver to the host. https://www.st.com/resource/en/application_note/cd00167594-stm32-microcontroller-system-memory-boot-mode-stmicroelectronics.pdf
I'm wondering if RS232 transceiver is necessary to use the system bootloader. Is UART over LVDS ok to use the system bootloader.
Does anybody know the answer?
Any response is appreciated. And thank you very much in advance.
With best wishes
Jasmine
Solved! Go to Solution.
2022-03-11 04:53 AM
In fact, an RS232 transceiver is only necessary if the host is connected with RS232. Of course, you can also connect the USART without a transceiver if the remote station has the correct levels.
Regards
/Peter
2022-03-11 04:53 AM
In fact, an RS232 transceiver is only necessary if the host is connected with RS232. Of course, you can also connect the USART without a transceiver if the remote station has the correct levels.
Regards
/Peter
2022-03-11 07:39 AM
The signal at the MCU needs to be 0 logic low and VDD logic high (or equivalent). However you get the signal there is up to you.
LVDS will need a transceiver to convert.
2022-03-11 08:05 AM
AN2606
Generally I think you'd want the pin pulled high, what you want to avoid is glitching/transitioning signals on the PINS the loader is waiting on, so important NOT to connect things like GPS/GNSS receivers to other UART Rx pins the loader might use, as the receivers will start squawking immediately at power up and block your connectivity.
Expectation at the pins CMOS 2.7-3.3V type levels, per you device powering scheme
Watching for 0x7F data pattern a 8E1 to auto-baud the data rate, and then responds with an 0x79 data pattern.
2022-03-11 09:05 AM
And also to check if the signal should be inverted or not ;)
2022-03-14 04:04 AM
Thank you very much for the answer.
2022-03-14 04:05 AM
Thank you very much for the answer.
2022-03-14 04:07 AM
Is it necessary to pull high, what about pulled low?