2024-03-25 07:54 AM
2024-03-25 08: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"...
2024-03-25 08: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?
2024-03-25 08:38 AM
2024-03-25 08: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.
2024-03-25 08:53 AM
No need to have two connections.
ST-LINK can handle the debug and the virtual comport at the same time.
2024-03-25 09:04 AM
@SofLit 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!