Page 2 of 2
Re: STM32 ARM UART
Posted: Thu Apr 27, 2017 5:21 pm
by PicoPuls
I am not sure about the conclusion when using NUCLEO-F746ZG :
Is there a chance to connect the USB directly to a PC and get serial communication
or is a separate USB serial card needed ?
Best regards
BO
- NUCLEO-F746ZG_UART.jpg (93.11 KiB) Viewed 13866 times
Re: STM32 ARM UART
Posted: Thu Apr 27, 2017 6:31 pm
by stefan.erni
Hi PicoPuls
I don't now....
But try the USART3
Re: STM32 ARM UART
Posted: Thu Apr 27, 2017 6:59 pm
by Sean
stefan.erni is correct. The Nucleo-F746ZG (and probably all other 144-pin Nucleo boards) use USART3, TX = PD8, RX = PD9 for the USB UART. No links or modifications are required.
I will edit my earlier post to include this information.
The information for the Nucleo boards seems to apply to all chip options of each pin count (32-, 64-, 144-pin).
Discovery boards not in the list will need to be checked individually for access to this feature.
Re: STM32 ARM UART
Posted: Thu Apr 27, 2017 7:12 pm
by PicoPuls
Thanks,
It seems to be in the right direction,
but I can't confirm functionality.
I also don't understand what SB4....SB7 means
Re: STM32 ARM UART
Posted: Thu Apr 27, 2017 7:21 pm
by PicoPuls
Now I found that SB stands for solder bridge
Does that need to be fixed before it works ?
At least SB5, 6, 7 are here
- NUCLEO-F746ZG_UART_sB.jpg (28.61 KiB) Viewed 13861 times
Re: STM32 ARM UART
Posted: Fri Apr 28, 2017 7:57 am
by LeighM
From table 9 above it looks like the default setting is USART3 connected to ST-LINK to support the virtual COM port,
which is what you want?
Re: STM32 ARM UART
Posted: Fri Apr 28, 2017 9:32 am
by PicoPuls
Yes, everything seems OK
Still, I can't serial-communicate with PC over USB
That's why I keep searching for something that might be missing
The solder bridges SB4 and SB7 should be removed, but if pin D8 D9 are not used,
they could probably stay
Re: STM32 ARM UART
Posted: Fri Apr 28, 2017 9:44 am
by PicoPuls
Could the test program be written differently ?
It should work - might just be some small detail missing.
Re: STM32 ARM UART
Posted: Fri Apr 28, 2017 10:04 am
by Sean
The attached program works on my F746ZG board. No hardware mods required.
Re: STM32 ARM UART
Posted: Fri Apr 28, 2017 10:07 am
by stefan.erni
Hi PicoPuls
If You start on the another way, it's more comfortable. The Nucleo is sending nonstop and You can just change Parameter or what ever on the computer. You can also see if You receive character in a wrong Baudrate. When it once works switch to your program.
Re: STM32 ARM UART
Posted: Sat Apr 29, 2017 7:55 am
by PicoPuls
Thanks for the idea! Digilent-410-212
The Flowcode UART code has two connections TX, RX
and the Digilent unit has 4 connections TX,RX, RTS, CTS
Should RTS, CTS just be connected to GND ?
Re: STM32 ARM UART
Posted: Sat Apr 29, 2017 12:09 pm
by stefan.erni
Hi Picopuls
Let it open. It was working on my board without connecting.