cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO-F401RE UART not showing up on logic analyser via pins

BadEngineer
Associate II

I am using a Nucleo-F401RE and wanted to look at the UART section. Ideally i wanted to see the pins go up and down to see what they are doing. 

I am using huart1 so the transmit is on PA9 and receive is on PA10. I've hooked up the logic analyzer to PA9 and PA10. To ground the logic analyser i am using pin number 7 on the CN6 connector. 

Below is what the logic analyzer is showing. It seems like it is very intermittent. When i am debugging it and get to the stage where it needs to send a signal out, nothing shows up. If i run it continuously i can see the pin fluctuate. 

What am i doing wrong? 

 

BadEngineer_0-1730226871586.png

 

My Code is rather simple.

BadEngineer_1-1730226905349.png

 

BadEngineer_2-1730226937288.png

 

 

 

11 REPLIES 11

Thank you for that answer Karl. 

So that explains why i'm not seeing any data for huart2 but what about huart1

They seem to be using PA9 and PA10 which are D8 and D2 respectively. They don't seem to have any solder bridges or resistors required to get them to work?


I don't see any solder bridges so you should be able to see some data. Are you sure PA9 and PA10 is selected? Because UART1 can also be mapped to PB6 and PB7.

Tips and Tricks with TimerCallback https://www.youtube.com/@eebykarl
If you find my solution useful, please click the Accept as Solution so others see the solution.