2017-11-10 10:09 AM
Hi guys. I'm still trying to get my STM32F411 to communicate (using UART) with a terminal program running on Windows 10. I just found a really good YouTube tutorial on this
. It seems I should be able to use to accomplish the same task as shown in the video. Just hoping a more experienced engineer on the forum can confirm this?2017-11-11 03:08 PM
Bump.
2017-11-11 04:07 PM
I like the SiLabs CP2102, cabled, would prefer mini over micro, but probably limited choices.
Lot of lower cost variants of this type of board out of China.
TX of module would go to USART_RX on STM32, and RX to USART_TX, while GND is commoned
2017-11-11 11:00 PM
Thanks, Clive. So, it sounds like there should be no problem using a cable like this. I did see some like you've linked to on EBay for a very affordable price but my local electronics store appears to have the AdaFruit USB to TTL serial cable in stock. I'm okay with paying a little bit more to have it immediately.
2017-11-12 12:23 AM
Boards out of China run less than $2, sort of thing you order by the dozen..
>>
So, it sounds like there should be no problem using a cable like this.
Should be fine, I think you're projecting complexity here. The thing to be avoiding is RS232 level, as these are NOT compatible with CMOS levels the processor is using/presenting at the pins.
2017-11-12 04:37 AM
If you can, the USB of the STLink is a composite device. There is a VCOM port which is routed to one UART of the target STM32. Use this one with Teraterm and off you go. The speed you program on USB is used to program the STLinkMCU UART settings. 115200bps would be the typical one.
2017-11-12 10:23 AM
Clive One wrote:
>>
So, it sounds like there should be no problem using a cable like this.
Should be fine, I think you're projecting complexity here. The thing to be avoiding is RS232 level, as these are NOT compatible with CMOS levels the processor is using/presenting at the pins.
Clive - Can you elaborate? I want to use UART to send/receive text to/from a terminal program in Windows like
. My plan is to only use the Tx/Rx pins of this cable to do so. Just as shown in the2017-11-12 10:25 AM
KIC8462852 EPIC204278916 wrote:
If you can, the USB of the STLink is a composite device. There is a VCOM port which is routed to one UART of the target STM32.
Based on what I learned on
, I don't believe I can do this with my STM32F411.2017-11-12 10:33 AM
I'm not watching 42 min videos, like I said you're over thinking this, you've got to wire up three leads, and use a device providing CMOS levels. The AdaFruit and board I cited do what you need.
RS232 infers different voltage levels, and inversion of the signal polarity.
2017-11-12 10:43 AM
Clive One wrote:
I'm not watching 42 min videos, like I said you're over thinking this, you've got to wire up three leads, and use a device providing CMOS levels. The AdaFruit and board I cited do what you need.
RS232 infers different voltage levels, and inversion of the signal polarity.
Chill out dude, I'm not asking you to watch a 42 minute video. The very beginning of the video shows the two wires hooked up to the Tx/Rx pins and at 2:10 he shows the USB to serial device. I was simply asking if the AdaFruit cable accomplishes the same thing as I can purchase it immediately (locally) as opposed to waiting a week+ for shipping.