This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52832 TWI(Two slave address setting )

Hi. twi_sensor As an example source, I have 2 pressure sensors. I use sdp800 and icp10101 separately and use it as twi_interface to read the sensor value well. However, we have TWI_interface with 2 slaves combined using 2 slave addresses. Sdp800 is NRF_DRV_TWI_INSTANCE (0) icp10101 NRF_DRV_TWI_INSTANCE (1) is set, but NRF_DRV_TWI_INSTANCE (0) side seems to be i2c communication only, and NRF_DRV_TWI_INSTANCE (1) seems to be not communication side.

Related