Banana BPI M2 Zero

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16053
    manbehindthemadness
    Participant

    Has anyone managed to get this to work on a Banana BPI M2 Zero?

    When I connect the module the I2C bus stops responding and reports that it's locked :-/ Any ideas?

    i2c i2c-0: mv64xxx_i2c_fsm: Ctlr Error -- state: 0x2, status: 0x0,

    #16054
    manbehindthemadness
    Participant

    I was able to locate the related portion of the driver code, but have found no solution as of yet.

    line 320:

    default:
    dev_err(&drv_data->adapter.dev,
    "mv64xxx_i2c_fsm: Ctlr Error -- state: 0x%x, "
    "status: 0x%x, addr: 0x%x, flags: 0x%x\n",
    drv_data->state, status, drv_data->msg->addr,
    drv_data->msg->flags);
    drv_data->action = MV64XXX_I2C_ACTION_SEND_STOP;
    mv64xxx_i2c_hw_init(drv_data);
    drv_data->rc = -EIO;
    }

    https://elixir.bootlin.com/linux/latest/source/drivers/i2c/busses/i2c-mv64xxx.c

    #16055
    manbehindthemadness
    Participant

    So I did a full header trace with a DVM and discovered that one of the 3.3v pin-sockets on the header was misshaped, I replaced the header with an extra I had on the bench and I am in business! I will report back once I actually use the module in practice to confirm general compatibility.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Blip, blop, bloop...