cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 UART/USART not working with GPS module (MAX-M10M )

amirshn
Associate III

Hi,

I have connected a MAX-M10M  module to an STM32H7  MCU ( it's custom board) by UART port. I am able to send data to GPS module and also receive config data of it but not able to receive NMEA packets. I only receive the first byte and then the HAL_STATUS of my HAL_UART_RECEIVE function switches to TIMEOUT.( I am using MX CUBE for pin initialization). I have tried blocking mode, IT and DMA, no luck.

Any help would be highly appreciated.

 

 

10 REPLIES 10

It was a hardware issue, due to some reasons the module was in safe boot mode and not transmitting the NMEA sentences.

 

Thanks for your comments anyway.