Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Not able to find I2C address of sensirion SGP40 sensor with nrfSDK

Hii,

i used nrf5sdk and i am trying to scanning i2c address of Sensirion sgp40 Sensor but unable to sacn i2c address.

I try SGP40 sensor with arduino code its work correctly and give me i2c address and VOC value.

when i use latest nrfSDK its give me i2c address but i can not use latest version of SDK in my project.  

Parents
  • Hi

    And can you confirm you're not using the SPI1 instance for example, since these are mutually exclusive and use the same base address in the code? Have you done any kind of debugging and get an error code that might explain what is happening/going wrong here? Is there a specific reason you can't use the nRF Connect SDK by the way?

    Best regards,

    Simon

Reply
  • Hi

    And can you confirm you're not using the SPI1 instance for example, since these are mutually exclusive and use the same base address in the code? Have you done any kind of debugging and get an error code that might explain what is happening/going wrong here? Is there a specific reason you can't use the nRF Connect SDK by the way?

    Best regards,

    Simon

Children
No Data
Related