STM32L uart RX not working with echo sample #69639
-
Hello zephyr community, I'm converting an application from a stm32f405 express to stm32L4+ swan from blues. Both are supported in tree boards. To factor out my code, I built samples/subsys/console/echo and got the same result. Boot prompt from the application, but no echo. Scoping this uC's RX line, I can see a the pulse train from the laptop, but amplitude of the pulse is only about 0.3V. As though the uC is pulling the TTL line up to hard. I swapped out USB/Serial converters and uControllers to confirm that it's not an issue in the test setup. I came across this old issue. And it seems to have closed with no resolution. As suggested there, usart3 works as expected, usart2 also works as expected. While USART1, and LPUART1 only transmit and do not receive. I have tried to do things like bias rx pin (which seems to be pulled up hard) down, but this had no effect. Any help or direction for troubleshooting would be appreciated. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Discovered that LPUART1 is connected to the JTAG connected. Confirmed that it is working when jtag disconnected. |
Beta Was this translation helpful? Give feedback.
One thing I suspect out is the following with
usb_otg_fs_id_pa10
and status = "okay";Even it shouldn't be the problem if you didn't enable the USB driver !!!
Also, finally you will change
t…