UART RX not working on Nucleo-H723
I am trying to get the USART2 working on my Nucleo-H7 board. I am using HAL_UART_Transmit for the TX side. This works fine. But when I use HAL_UART_Receive on the RX side, there is never any RX data coming into the device. I have stepped through the HAL lower layers and watched the SFRs for any activity, but there is never any activity on the RX side (the RXNE bit never toggles). I'm starting to wonder if there is a hardware issue with the Nucleo board.
My project is an enhancement of the NX-TXP_Echo_Server example which receives 64 bytes received from the ethernet interface, and forwards the 64 byte command to the USART device to be used by another board. The remote board basically echoes the serial data received from the Nucleo board. Again the TX function of the Nucleo board works fine. But the RX side never sees any data received by the chip.
I have a scope on the TX and RX lines and can verify that the remote board is indeed receiving the data sent to if from the Nucleo, and it indeed does send a 64 byte response to the Nucleo board. It just never shows up in the Receive Data Register of the Nucleo USART2.
Since the TX side of the USART2 is working, I assume the USART is being properly initialized. And since I never see any data at the Receive Data Register (while monitoring the Special Function Registers in CubeIDE), I assume that I am missing some initialization of the RX side, or there is a hardware issue.
Can anyone offer some debugging suggestions?
Thanks
MikeH
