STM32 ARM UART
Moderator: Benj
-
- Posts: 111
- Joined: Wed Mar 02, 2016 11:26 am
- Has thanked: 43 times
- Been thanked: 22 times
- Contact:
Re: STM32 ARM UART
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
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
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact:
-
- Valued Contributor
- Posts: 548
- Joined: Tue Jun 26, 2007 11:23 am
- Has thanked: 6 times
- Been thanked: 44 times
- Contact:
Re: STM32 ARM UART
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.
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.
-
- Posts: 111
- Joined: Wed Mar 02, 2016 11:26 am
- Has thanked: 43 times
- Been thanked: 22 times
- Contact:
Re: STM32 ARM UART
Thanks,
It seems to be in the right direction,
but I can't confirm functionality.
I also don't understand what SB4....SB7 means
It seems to be in the right direction,
but I can't confirm functionality.
I also don't understand what SB4....SB7 means
- Attachments
-
- NUCLEO-F746ZG_UART2.jpg (65.78 KiB) Viewed 14605 times
-
- Posts: 111
- Joined: Wed Mar 02, 2016 11:26 am
- Has thanked: 43 times
- Been thanked: 22 times
- Contact:
Re: STM32 ARM UART
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
Does that need to be fixed before it works ?
At least SB5, 6, 7 are here
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: STM32 ARM UART
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?
which is what you want?
-
- Posts: 111
- Joined: Wed Mar 02, 2016 11:26 am
- Has thanked: 43 times
- Been thanked: 22 times
- Contact:
Re: STM32 ARM UART
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
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
-
- Posts: 111
- Joined: Wed Mar 02, 2016 11:26 am
- Has thanked: 43 times
- Been thanked: 22 times
- Contact:
Re: STM32 ARM UART
Could the test program be written differently ?
It should work - might just be some small detail missing.
It should work - might just be some small detail missing.
- Attachments
-
- NUCLEO-F746ZG_UART3.jpg (139.32 KiB) Viewed 14603 times
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact:
Re: STM32 ARM UART
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.
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.
-
- Posts: 111
- Joined: Wed Mar 02, 2016 11:26 am
- Has thanked: 43 times
- Been thanked: 22 times
- Contact:
Re: STM32 ARM UART
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 ?
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 ?
- Attachments
-
- Digilent-410-212.jpg (137.39 KiB) Viewed 14572 times
-
- Valued Contributor
- Posts: 654
- Joined: Fri Aug 19, 2016 2:09 pm
- Location: switzerland
- Has thanked: 182 times
- Been thanked: 179 times
- Contact: