Skip to main content
Associate II
March 25, 2024
Solved

STM32H747 DISCO Development Board Communication between DSP and PC

  • March 25, 2024
  • 1 reply
  • 1686 views
I am working on a pathological voice assessor device, using the STM32H747-DISCO development board. I’m a new user and need some help with configuring and sending data from the DSP to PC - there is also a separate connection for debugging from my Macbook which is plugged in to the ST-LinK Debugger port. I had attempted using the USB OTG communication protocol but was met with some driver issues. 

I was told by a peer to use the FT232 board, breakout the RX and TX pins, connect them to the board and then plug into the PC to read the pins. From my understanding this is using the UART protocol. So I in the IOC file I would turn on the UART setting, then generate the code and connect the FT232 board to the RX and TX pins and plug the board to the PC.
 
Any knowledge of exactly what to do would be greatly appreciated. 

 
Thank You :)
 
Best answer by Andrew Neil

AndrewNeil_0-1711381107458.png

 

1 reply

Andrew Neil
Super User
March 25, 2024

@shanzehq wrote:
I was told by a peer to use the FT232 board, breakout the RX and TX pins, connect them to the board and then plug into the PC to read the pins.

So can your peer not help you with doing that?

 

 


@shanzehq wrote:
From my understanding this is using the UART protocol. So I in the IOC file I would turn on the UART setting, then generate the code and connect the FT232 board to the RX and TX pins and plug the board to the PC.

Yes "FT232" is a USB-to-UART bridge chip: https://ftdichip.com/wp-content/uploads/2020/08/DS_FT232R.pdf

There should be plenty of examples of using the UART.

Perhaps you should start by using the UART that's connected to the ST-Link, get that going, and understand it.

Once you've done that, you'd just need to change the pinning options to something you can connect to your "FT232 board"...

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
shanzehqAuthor
Associate II
March 25, 2024

It was just someone in passing that I spoke to.


Can you elaborate on what you mean by just using the UART that connected to the ST-LINK. Would that be different from just configuring UART to be on?

 

 

 

Andrew Neil
Andrew NeilBest answer
Super User
March 25, 2024

AndrewNeil_0-1711381107458.png

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.