LPC55s69: I2c maximum byte transfer capability

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC55s69: I2c maximum byte transfer capability

666 Views
Deeps_bang
Contributor III

Hi Team,

we are using LPC55s69JBD100.

Recently, we are trying to interface TOF sensor with LPC55s69 controller. 

During sensor initialization, controller has to write 8000 bytes of hex data to sensor.

i.e ex: status |= WrMulti(&(p_dev->platform),0,(uint8_t*)&VL53L8CX_FIRMWARE[0],0x8000);

 

I need a clarification that , LPC55s69- I2C supports how many  byte-long hex transfers?

Based on this capability , I will divide the data into chunks and transfer.

 

Thanks & regards,

Deep_Bang

Labels (1)
0 Kudos
Reply
4 Replies

631 Views
HangZhang
NXP Employee
NXP Employee

Hi @Deeps_bang 

You can refer to the lpc55s69 i2c example.
 
HangZhang_1-1721039807190.png

 

The max i2c data length is 256byte.
 
Hope this will help you.
 
BR
Hang
0 Kudos
Reply

599 Views
Deeps_bang
Contributor III

Hi Hang,

 
We are not using dma_i2c_master transfer.
 
we are using I2C_MasterTransferNonBlocking(FL4_PR_ADXL_I2C_PERIPHERAL, &g_pr_handle, &masterXfer);
 
here, no where I got max I2C transfer length details.
 
So, is that mean, I2C will transfer the given length of data?
 
 
Thanks & Regards,
Deep_Bang
Tags (1)
0 Kudos
Reply

583 Views
Deeps_bang
Contributor III

Hi Hang,

 

Any update on this?

Tags (1)
0 Kudos
Reply

635 Views
Deeps_bang
Contributor III
Hi Team ,
Any update on this query?
Here, LPC55s69 and TOF sensor communication is happening via I2C with clock 12 MHz (BOARD_BootClockPLL150M) and 100kHz baud rate.
0 Kudos
Reply