STM32H747 DISCO Development Board Communication between DSP and PC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-25 7:54 AM
Solved! Go to Solution.
- Labels:
-
STM32CubeMX
-
STM32H7 series
-
UART-USART
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-25 8:38 AM
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-25 8:08 AM
@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 designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-25 8:31 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-25 8:38 AM
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-25 8:45 AM
CN2 is also the debugger port which will be connected to my Mac, it wouldn’t be able to have two simultaneous connections hence I had tried using the USB OTG port initially which was connected to the PC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-25 8:53 AM
No need to have two connections.
ST-LINK can handle the debug and the virtual comport at the same time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-25 9:04 AM
@mÆŽALLEm wrote:No need to have two connections.
ST-LINK can handle the debug and the virtual comport at the same time.
Indeed - and the Mass Storage!
A complex system designed from scratch never works and cannot be patched up to make it work.
