cancel
Showing results for 
Search instead for 
Did you mean: 

I2C setting is not working for FP-ATR-LORA1 package (GNSS + LoRa asset tracker)

SVora.4
Associate

To reproduce

  • Enable I2C in gnss_app_cfg.h
#define configUSE_I2C 1
  • When moved, the UART log said

(11:58:08.056) -->�?�Going�?�to�?�run...

(11:58:12.943) Can�?�not�?�read�?�axes

(11:58:12.963) >>�?�sensor_event

(11:58:15.875) Accelerometer�?�NOT�?�initialized

Everything is ok for default UART setting. One possible issue is the configuration of I2C1 in interrupt mode for Teseo component with background reading.

1 REPLY 1
Francesco Virlinzi
ST Employee

Hi

In the FP-ATR-LORA1 the GNSS is not supported on I2C bus.

It's a design decision because GNSS (in Geofencing mode) is used to wakeup the whole system (from standby) sending a message via UART.

This can not be done on I2C.

Hope this helps

Regards

Francesco