ICM-42670P error code -12

By kjseirfitness , 13 August 2024

Hi

I am during PCBA testing on a board with ICM42670P, where i firstly verified the circuit and fw on a eval kit, but now i am testing on the final PCB, where i don't have access to the SPI connection.

I am using a ICM-42670P connected to a PSOC 6, using 4-wire spi, and I am powering VDD with 3.3V and VDDIO with 3.13V. When debugging the test code I always get 0xff when i try to read a register, which leads to a error code -12 (based of the driver example here: https://github.com/tdk-invn-oss/motion.arduino.ICM42670P/tree/main/src

Then i notice that the eval kit (DK-42760-P) has a pull-down on the MISO line, but all other spi lines where also pulled up. I tried to mimic that on my setup, but that didn't change a think.

Any helps or hints are highly appriciated.

Thanks.

mustafayildiri…

1 year 6 months ago

Hello,

Did you check this? https://github.com/tdk-invn-oss/motion.arduino.ICM42670P/issues?q=is%3Aissue+is%3Aclosed

phpbb Post ID
46527

kjseirfitness

1 year 3 months ago

Hello.

The link takes me to an overview of 5 different issues and i don't see any of those addressing my issue. Maybe #6, but the author newer tells what he/she did to fix the issue. Do you have any other hints or help? Thanks

phpbb Post ID
48240

kjseirfitness

1 year 3 months ago

@MOD_Mustafa i found the issue i think you where trying to link to and I am in dialog there now, thanks.

phpbb Post ID
48278
phpbb Topic ID
46199