I2C Configuration Issue in nrf5340 audio dk

Hi Team,

I have configured I2C0 for reading data and sending iqs323 and iqs7211a. i have configured overlay file according pin conjuration which is below.

Pin configuration:

SCL - P0.26

SDA - P0.25

RDY(0x44) - P1.00

RDY(0x56) - P1.01

i have enabled below in config file.

# I2C
CONFIG_I2C=y
CONFIG_NRFX_TWIM1=y
CONFIG_GPIO=y

after this i was checking binding in main file but is showing that binding failed.
below is main file screenshort to check binding. so, it is always fail satisfy if and condition and showing binding fail.


Below is overlay file configuration.


below is config file configuration


i have done changes in existing code of nrf5340 audio code sample. i have not changed anything except this.
kindly guide to configuration of I2C.
Regards, 
Dhruvish Patel
Parents Reply
  • hi,

    Thanks for reply.

    I have already gone through this.

    I am modifying existing nrf5340 audio code because i want functionality in that code only.

    i want to configure Azoteq IQS323 wear detection(0x44) and Azoteq IQS7211a(0x56) both single I2C.

    But everytime whenever i try to configure I2C binding is not happening,

    I2C0 and I2C1 cannot be utilized because it is already configured in nrf5340 audio firmware.

    Kindly guide through in I2C configuration in existing firmware of nrf5340 audio.

    Thanks & regards,

    Dhruvish Patel 

Children
No Data
Related