10 years ago.

Corrupted data Serial USART1 Nucleo F103RB

Hi,

I had some problems with corrupted data from Serial usart1(PA_9, PA_10) With nucleo F103RB another serial default Serial pc(SERIAL_TX, SERIAL_RX); works very well, but when a put the follow code

/media/uploads/moisesmarangoni/code_nucleof103rb.png

/media/uploads/moisesmarangoni/error_nucleof103rb.png

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32F103RBT6 microcontroller.

It appears that your java application is running at 9,600 bps, but are you setup for 8 data bits, no parity, 1-stop bit and no hardware flow control?

posted by Abraham Howell 01 May 2014

1 Answer

10 years ago.

Make sure your java application is setup for the default serial parameters of 8 data bits, no parity, 1-stop bit and no hardware flow control. Not sure how you are physically connected to PA_9 & PA_10 (serial to usb convertor, WiFi or Bluetooth module, etc), but make sure that the wires have a good connection with the Nucleo pins and be sure to connect a common ground wire.

Regards, Abe