AnsweredAssumed Answered

imx6 i2c in uboot

Question asked by Chris Roed on Dec 15, 2015
Latest reply on Dec 15, 2015 by Chris Roed

Hello,

 

I have an imx6 based on the wandboard single core with u-boot 2015.07.  I need enable i2c probes to test my board version and I'm having some software issues.  I modified wandboard.c/h according to the patch posted here -> [U-Boot] [PATCH v3] mx6sabred: Add PFUZE100 PMIC support , changing the specific values to enable i2c0, and ignoring the pfuze specific code.

 

I can now run I2C commands from u-boot, however I don't see the pins toggling on the board and I'm getting some odd errors. 

 

=> i2c probe 0x21

Valid chip addresses:wait_for_sr_state: failed sr=81 cr=a0 state=2020

i2c_init_transfer: failed for chip 0x21 retry=0

wait_for_sr_state: failed sr=81 cr=a0 state=2020

i2c_init_transfer: failed for chip 0x21 retry=1

wait_for_sr_state: failed sr=81 cr=a0 state=2020

i2c_init_transfer: failed for chip 0x21 retry=2

i2c_init_transfer: give up i2c_regs=0x21a0000

 

Any suggestions to fix this?

Outcomes