10 years, 2 months ago.

Serial problem - no Tx to PB_10

Hi,

I wish to use USART 3 on the STM32F302 Nucleo board.

I initialise using

Serial usart3(PB_10, PB_11);

but there is no response from the Tx pin on PB_10. It just sits at high level.

I have successfully used USART1 as follows, but USART3 does not appear to initialise

Serial usart1(PA_9, PA_10);

Any help appreciated

Ken

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32F302R8T6 microcontroller.
posted by toshiki goto 31 May 2016

2 Answers

8 years, 7 months ago.

I also got up the same problem.

toshiki

8 years, 7 months ago.

Hi,

Could you please add the following define and let me know if it is working as expected or not:

#define UART3_BASE USART3_BASE

Thank you for reply. But it did not work even if you add it.(I checked with an oscilloscope.)

The results are below.

Serial SIRIAL(PB_9, PB_8); ->NG

Serial SIRIAL(PB_10, PB_8); -> NG

Serial SIRIAL(PA_9, PA_10); -> OK

Signal of Pin PB_9 PB_10 is always "H".

We will continue to investigate. If you have same tips, please tell me.

toshiki

posted by toshiki goto 30 May 2016