Hi Team,
We are using LPC55s69 controller.
we wanted to know what's the maximum I2C bytes transferred at a time using
status_t I2C_MasterTransferNonBlocking(I2C_Type *base, i2c_master_handle_t *handle, i2c_master_transfer_t *xfer);
Is it 256 bytes or is it capable of transferring more length?
Thanks & Regards,
Deep_bang
Hi Pablo,
Thank you for the response.
With mentioned I2C non_blocking API, I could able to transfer the entire data length .
Thanks & Regards,
Deep_Bang
Hi @Deeps_bang,
If you check the examples that the SDK provide about I2C we can find that the max length is 256 bytes.
One alternative to send more than 256 bytes can be implementing a start/repeated start. This means divide the frame and add the related address, the first frame Start+address+data(256B), the second frame start+address(orginal address +256)+data(the other register data).
Hope it helps you!