LPC55s69: I2c maximum byte transfer capability

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC55s69: I2c maximum byte transfer capability

481 次查看
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

标签 (1)
0 项奖励
回复
4 回复数

446 次查看
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 项奖励
回复

414 次查看
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
标记 (1)
0 项奖励
回复

398 次查看
Deeps_bang
Contributor III

Hi Hang,

 

Any update on this?

标记 (1)
0 项奖励
回复

450 次查看
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 项奖励
回复