Associate II
February 10, 2021
Question
Issue on USART3 communication with host laptop [STM32F103RB_Nucleo]
- February 10, 2021
- 5 replies
- 1991 views
Hello,
I have some issue to transmit and receive data with my laptop and a STM32F103RB Nucleo board, with picocom.
I use USART3 (remapped for Tx/RX to C10/C11) : please see code attached.
When I use a jumper to connect Tx and Rx directly on the board (loop), this code works.
But when I connect Tx and Rx to my laptop through a Serial/USB cable, it does not work any more :
- laptop to MCU : the RX IT are triggered, but the data is not OK (byte received is 0xfe each time I send a char through picocom)
- MCU to laptop : char received but incorrect value (that's a strange char, probably 0xff or something like that)
I have ensured that COM port settings are the same (baudrate, etc...) and it is OK. I have also tried several pin configurations, but without success.
Does anyone have an idea to help me ? :) Thank you.
Julien