Skip to main content
Visitor II
February 5, 2019
Question

I2C setting is not working for X-CUBE-GNSS1 expansion with STM32L073 example

  • February 5, 2019
  • 2 replies
  • 875 views

To reproduce

  • Load GetPos or SimOSGetPos app with STM32L073 example.
  • Enable I2C in gnss_app_cfg.h
#define configUSE_I2C 1
  • Firmware prints out "Booting", then no result.
  • Try to debug by setting a breakpoint at the buffer reading code in TeseoConsumerTask() function (main.c). Stop only just once and never again.
gnssMsg = GNSS_Get_Buffer(&pGNSS);

UART default setting works fine.

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    March 13, 2019

    Hi

    Nucleo-L073RZ is one of the platform tested.

    It's strange you don't have it working.

    Do you see the red-led blinking on X-Nucleo-GNSS1A1?

    If not the X-Nucleo is under reset and you have De-Reset it.

    In the X-CUBE-GNSS1 there are already prebuilded binary also for Nucleo-L073RZ. Could you test it?

    Thanks

    Regards

    Francesco

    ST Employee
    March 13, 2019

    Hi

    I can confirm what stated by Francesco. Nucleo-L073RZ is supported and working for both configurations (UART and I2C). Are you testing the latest released version X-CUBE-GNSS1A1 V2.1.0?

    Regards

    Andrea