nrf52840 connection with gps module over I2C

I am trying to develop a code to read geo data using a gps module (MAX-M10S -> uBlox). I'm using the nrf52840 and I need to read data over I2C. I'm using nRF Connect SDK v2.3.0 and I'm programming with VSCode.
Is there any code that does this or something similar?

Parents Reply
  • How could I make a project to communicate to GPS Moudule (MAX-M10S) with my nRF52840 (using nRF Connect SDK) over I2C? I am trying to use a example code, but at "prj.conf", I added  "CONFIG_SENSOR_MAXM10S=y", but this error appear:
     

    C:/Projetos/sirros_geolocalizadores/Geolocalizador_Nordic/firmware/i2c_scanner/prj.conf:10: warning: attempt to assign the value 'y' to the undefined symbol SENSOR_MAXM10S
    
    error: Aborting due to Kconfig warnings
    
    CMake Error at C:/ncs/v2.3.0/zephyr/cmake/modules/kconfig.cmake:328 (message):
      command failed with return code: 1
    Call Stack (most recent call first):
      C:/ncs/v2.3.0/nrf/cmake/modules/kconfig.cmake:29 (include)
      C:/ncs/v2.3.0/zephyr/cmake/modules/zephyr_default.cmake:108 (include)
      C:/ncs/v2.3.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
      C:/ncs/v2.3.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
      CMakeLists.txt:11 (find_package)

    Do you know if Zephyr RTOS have driver to MAX-M10S?

Children
Related