2026-02-05 7:40 AM
Hello,
I'm facing some trouble with interfacing these two boards.
Right now, I had only configured cube to load the datalogger example.
It's running fine without the 6283A1 but when I plug it on the IKS4A1, the code crash.
While debugging, I found that when the 6283A1 is not installed, the "configuration" variable is correctly filled with correct function pointer :
But when the 6283A1 is inserted, not all the variable is filled and the code is trying to execute a function that's not registered in the variable :
MotionFuncDrv[1][1]->GetAxes
I think it's a bug in the IKS library, the color sensor may have been interpreted as the LSM6 ?
Althought, the I2C bus is working fine.
Without the color sensor :
Searching for I2C devices on the bus...
Device found: 0x32
Device found: 0x3C
Device found: 0x70
Device found: 0x88
Device found: 0xBA
Device found: 0xD4
Device found: 0xD6
Total found devices: 7
With the color sensor :
Searching for I2C devices on the bus...
Device found: 0x32
Device found: 0x3C
Device found: 0x40 (*** VD6283A1)
Device found: 0x70
Device found: 0x80 (*** INA226)
Device found: 0x88
Device found: 0xBA
Device found: 0xD4
Device found: 0xD6
Total found devices: 9
Any help will be welcomed