cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H750 uart problem

Angle
Associate II

Hi, may i know how to use the uart using stm32h750. I just try using the basic uart application which is hello world but nothing show up. I literally follow same setting with nucleo board for uart. but it does not working with stm32h750? May i know if its different setting or i miss something?

btw I am using tera term as a serial monitor. Anyone know where can i refer or anyone can just show me how to do that?

1 ACCEPTED SOLUTION

Accepted Solutions
Karl Yamashita
Lead II

USART3 is on PB10 and PB11 which uses the STLINK VCP, or ST-MOD or Arduino connector. Even though USART3 can use PD8 and PD9, those pins go to the SDRAM on the dev board so you have no access to those pins.

Be sure to study the schematics so the pins you've selected don't go somewhere else.

https://www.st.com/resource/en/schematic_pack/mb1381-h750xb-b01_schematic.pdf

I Can't Believe It's Not Butter. If you find my answers useful, click the accept button so that way others can see the solution.

View solution in original post

7 REPLIES 7
Karl Yamashita
Lead II

You really need to give more information. You say you followed the same settings as the nucleo board but does that mean it's using the same UART port? You need to post your code that transmit and the array that you're using for the data.

I Can't Believe It's Not Butter. If you find my answers useful, click the accept button so that way others can see the solution.

I followed this one https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:Step3_Introduction_to_the_UART but for STM32H750XBH-DK board I am using the USART3 which is PD8 for TX and PD9 for RX.

This is code i using for STM32H750XBH-DK

0693W00000WLVLoQAP.pngDo I need to enable another peripheral beside USART?

Karl Yamashita
Lead II

USART3 is on PB10 and PB11 which uses the STLINK VCP, or ST-MOD or Arduino connector. Even though USART3 can use PD8 and PD9, those pins go to the SDRAM on the dev board so you have no access to those pins.

Be sure to study the schematics so the pins you've selected don't go somewhere else.

https://www.st.com/resource/en/schematic_pack/mb1381-h750xb-b01_schematic.pdf

I Can't Believe It's Not Butter. If you find my answers useful, click the accept button so that way others can see the solution.

ohh thank you ! I got it. I will study the schematic well since I also still new to the environment

Hi again,

I got another problem. Why when I configure using touchgfx same mcu(STM32H750XBH-DK), the USART did not print anything again on my serial monitor(tera term)?

Karl Yamashita
Lead II

How is TeraTerm connected to the dev board?

I Can't Believe It's Not Butter. If you find my answers useful, click the accept button so that way others can see the solution.

only based on usart . not connect wire or anything since when i try the dev kit without touchgfx, everything is okay. do i need to connect any usb or wire ?