Hi guys, i have a problem with the I2C address on an MPR121 board(link below). I want to connect a BNO055 IMU(link below) and an MPR121 to the Bela, via I2C. The MPR121 has selectable I2C address. I connected the Address pin to 3.3V in order to obtain the address 0x5B. I get the following error:
Unable to send dataMPR121 read 0x0 instead of 0x24
Error initialising MPR121
Makefile:502: recipe for target 'runide' failed
make: *** [runide] Error 255
Both boards work if connected alone with default address (0x5A). The problem occurs when the MPR121 is connected alone, with any address except the default one. Same problem when trying 2 MPR121s, one with default address, and one with any other one. I have looked into the MPR121 library and could not figure out the real reason for the issue. I have tried hardcoding an offset so the expected value is incremetned by 1, without success.
Anyone has had a similar problem, or has tips towards fixing it? Everything is welcomed.
Bela project: https://aaudk-my.sharepoint.com/:u:/g/personal/rpa_create_aau_dk/EbDyWSFAeZ9GjugTufxhW3IBIR-GVOU3WwoaHDQ7ur0j7w?e=eectU8