2022-04-05 06:42 AM
Dear community,
I am working on a project, and I am running into problems with the use of 2 UART ports at the same time. I hope, that you can help me.
The project I am working on is a modular system of connected devices. The MCU of every device is STM32l476rc and it is placed on square PCB.
I need to forward the data which are incoming at USART2 to the UART3 .
Main reason why I want to do that is to send commands over UART which is connected to my MCU. The MCU is connected to PC.
PC --- STM32 --- Other Device
I am using CubeMX to configure the MCU and Keil uVision environment. For the UART comms I am using HAL drivers.
the problem that i don't recieve nothing when i send a command . please can someone fix with me the code .
this the code
2022-04-05 06:51 AM
Screen shots of small portions of code aren't helpful.
ZIP up the project, with a unique name, and attach as a file.
If you must post snippets, do so in a code window </> not as images.
For concurrent use, expect to use interrupt based code, not polling.