BG96 i2c Operation Delay

Hello,

I am using BG96 QuecOpen. I2C Response is Very slow.

For One Read Operation around 150 ms Required which is Hug Delay ,

Specially When we are Accessing Accelerometer with 100Hz Frequency and we have to handle that much Data.

Here Delay means…

i2c_open();
i2c_poweron();

i2c_callback()
{
printf(“Callback\r\n”);
};

i2c_read(slaveAddress,Reg);

So That Callback will happen after 135-150 ms only.

Is there Any way to Reduce that Delay ?

Thanks & Regards,
Hardik

Hello, sir,
This callback is task-level, not directly from interruption,in fact I2C has been completed, but the callback function is slow due to the impact of multi-thread switching task, which cannot be solved in the application at present. Because this is the system task mechanism of the module.

Thanks For Your Reply…

I solved problem with Decreasing Clock Stretch Value .

Thanks & Regards,
Hardik