UART Communication Issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-13 5:08 AM
Hi,
I am using G474RE nucleo board and I want to communicate between the UARTs available on the board (UART2,UART1 and UART3). Message is not transmitting complete in to UART1 from UART2 and same with UART3 from UART1
Solved! Go to Solution.
- Labels:
-
ST boards
-
STM32G4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-13 6:05 AM
Hello @VGani.1 ,
I advise you check the UART clocks and content of UART registers when the issue occurs.
Please share more details when code hangs.
Did you use UART example with STM32CubeG4 package? this may help you on your implementation.
I recommend you the following articles which contain a list of examples about STM32 UART DMA RX/TX:
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-13 6:05 AM
Hello @VGani.1 ,
I advise you check the UART clocks and content of UART registers when the issue occurs.
Please share more details when code hangs.
Did you use UART example with STM32CubeG4 package? this may help you on your implementation.
I recommend you the following articles which contain a list of examples about STM32 UART DMA RX/TX:
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-13 12:54 PM
Probably a code bug. Note that you need to start the receive operation prior to starting the send operation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-13 3:05 PM
Show your code so we can see how you're trying to communicate to each UART.
TimerCallback tutorial! | UART and DMA Idle tutorial!
If you find my solution useful, please click the Accept as Solution so others see the solution.
