LPC55s69: I2c maximum byte transfer capability

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC55s69: I2c maximum byte transfer capability

1,674件の閲覧回数
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 返答(返信)

1,639件の閲覧回数
Harry_Zhang
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 件の賞賛
返信

1,607件の閲覧回数
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 件の賞賛
返信

1,591件の閲覧回数
Deeps_bang
Contributor III

Hi Hang,

 

Any update on this?

タグ(1)
0 件の賞賛
返信

1,643件の閲覧回数
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 件の賞賛
返信