Hi Champs,
My Customer is facing a problem with the I2C driver.
They have a constrain in there design – sequential I2C operations time must be constant( less than 1 microsecond between I2C operation) below is the customer problem description.
We are trying to achieve a deterministic I2C write transaction duration from BIOS I2C
Driver on TMS320c6748 DSP to TLV320aic codec.
There are 4 codec channels on two codec ICs connected in a dazy chain.
If you are writing program without a BIOS using a different I2C driver all is OK
(I2C write transaction duration is constant).
When we try to use this code in the application using the
BIOS we get a big fluctuations in I2C write transaction duration.
1) In both drivers we are using the TI I2C controller (I2C0).
2) In the application the code is executed first in the Init Task.
3) All interrupts were disabled (GIE).
What is the root cause of this inconstant beaviour?
How can the customer solves this issue?
Regards
Eran