cancel
Showing results for 
Search instead for 
Did you mean: 

GNSS1a1 communication over i2c returns only empty message.

LZure.old
Associate II

Hi,

I have STM32WB55RG and GNSS1A1 boards. I am trying to run SimOSGetPos example however my GNSS1A1 module returns only empty messages. As far as I was able to troubleshoot, I found function GNSS_PARSER_ParseMsg which enters infinite loop that is looking for "\n" character. Is there any particular settings I need to take care before I run this example?

ps. I have generated project with Stm32CubeMX. Version of gnss1a1 software is 3.1.

Cheers,

Lukasz

1 REPLY 1
Silvio
ST Employee

Hi Lukasz,

have you set to 1 the macro USE_HAL_I2C_REGISTER_CALLBACKS?

It should be defined in file stm32wbxx_hal_conf.h (in the application Inc folder).

If it is not defined, please, add USE_HAL_I2C_REGISTER_CALLBACKS=1 to the preprocessor defined symbols in your IDE.

BR

Silvio