cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with USART6 on STM32F7508-DK - Unable to Transmit Data

AS5
Associate II

Dear STM Community,

I am currently working on enabling USART6 for data transmission on my STM32F7508-DK board, but I have been unsuccessful so far. I have checked the datasheet for the correct RX and TX pin configurations, and I have tried two different pin combinations:

  1. PG9 for USART6_RX and PG14 for USART6_TX
  2. PC6 for USART6_TX and PC7 for USART6_RX

When I use USART1, everything works perfectly, but I need USART1 for other tasks, so I am planning to use USART6 for terminal output.

Could someone help me or provide a solution to get USART6 working as expected?

Thank you in advance for your assistance.

Best regards,
@AS5

1 ACCEPTED SOLUTION

Accepted Solutions

USART1 PA9/PB7 "works" because it's actually plumbed to the ST-LINK VCP

If you want other USARTs to work you're going to need to wire them to another USB-to-CMOS serial adapter.

Perhaps look a pins wired to the Arduino Shield, and not in use for other purposes.

USART6 PC6/PC7 go to Arduino D1/D0 pins, you'll need to wire to those

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

5 REPLIES 5

@AS5 wrote:

I am currently working on enabling USART6 for data transmission on my STM32F7508-DK board, but I have been unsuccessful so far.5


In what way(s), "unsuccessful"?

How are you testing?

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/ta-p/575228

Thank you for your response.

I tried to test a simple communication setup to send a message to the terminal. I followed the datasheet to configure the pins, but the USART6 still doesn't work. To debug the issue, I created a small test function that uses USART1 (which I know works reliably) to print potential error messages. This way, I could identify what might be going wrong with USART6.

Attached, you'll find a screenshot of the terminal output and the function I used to diagnose the issue.

Looking forward to your insights!

AS5_2-1733843884408.png

AS5_3-1733843911377.png

 

 

 


@AS5 wrote:

I tried to test a simple communication setup to send a message to the terminal.


So how did you connect your UART to that terminal?

Please see the Posting Tips for how to post source code - not as a screenshot:

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/ta-p/575228

USART1 PA9/PB7 "works" because it's actually plumbed to the ST-LINK VCP

If you want other USARTs to work you're going to need to wire them to another USB-to-CMOS serial adapter.

Perhaps look a pins wired to the Arduino Shield, and not in use for other purposes.

USART6 PC6/PC7 go to Arduino D1/D0 pins, you'll need to wire to those

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Thank you so much for your explanation! Following your advice, I successfully connected USART6 to the D1/D0 pins on the Arduino shield, which allowed me to establish communication via USART6 and start printing to the terminal. Everything is working as expected now!