UART2 on the Nucleo G431-RB accepts data through the USB virtual port but not through PA3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-21 9:12 AM
Hi all, I am working in uart2 which is connected to the usb port in nucleo -g431rb but I want to communicate not through usb but through PA2 and PA3 pins assigned to uart2 by default. Tx line work properly but Rx not. There is a good signal on PA3 input (I checked with oscilloscope) but MCU is not receiving data. I thought there was some collision with usb virtual port so I unsoldered solder bridges SB1 and SB12 - doesn't work. Rx uart2 works if I send data to usb port and not to PA3. Does anyone have any idea?
Solved! Go to Solution.
- Labels:
-
STM32G4 Series
-
UART-USART
-
USB
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-21 1:29 PM
I am assuming you're using pin #5 and #10(ARD_A2) on CN3 connector? The ARD_A2 needs SB14 soldered bridge to complete the circuit.
Don't worry, I won't byte.
TimerCallback tutorial! | UART and DMA Idle with multiple UART instances tutorial!
If you find my solution useful, please click the Accept as Solution so others see the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-21 1:29 PM
I am assuming you're using pin #5 and #10(ARD_A2) on CN3 connector? The ARD_A2 needs SB14 soldered bridge to complete the circuit.
Don't worry, I won't byte.
TimerCallback tutorial! | UART and DMA Idle with multiple UART instances tutorial!
If you find my solution useful, please click the Accept as Solution so others see the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-21 1:54 PM
Many thanks, I'll check tomorrow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-25 12:50 AM
Now it works, thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-26 1:45 PM
That is good to hear. Can you select as best answer?
Don't worry, I won't byte.
TimerCallback tutorial! | UART and DMA Idle with multiple UART instances tutorial!
If you find my solution useful, please click the Accept as Solution so others see the solution.
