Part Number: AM5728
Tool/software: TI-RTOS
Hi,
I am trying to write slave device on I2Cbus_3 DSP1, When we use the default i2c configurations with the transferMode as BlockingMode. Writing to the slave device taking taking around 4-5ms.
in the deafult i2c configurations interrupt is enabled, so we disable the interrupt with the blocking mode as the transfermode. Now the time it is taking to write in to the slave is 600microseconds.
we have completely disabled I2c3 from the arm side.
why it is taking soo much time to write/read with enabling the interrupt, blockingMode as transfermode, bitrate of 400kbps. as bellow mentioned structure.
typedef struct I2C_Config_Params {
I2C_BitRate bitrate = 400kbps;
I2C_TransferMode transferMode = I2C_MODE_BLOCKING;
void *transferCallbackFxn = NULL;
void *edmaHandle = NULL; /*! EDMA handle */
bool dmaMode = false;
bool enableIntr = true; //when we make it false(polling method) we have observed that write time is 600microsec
}
what changes we have to do to write/read faster in interrupt enable mode?
bios version: 6_52_00_12
pdk ver: pdk_am57xx_1_0_7
IPC version: 3_47_00_00
thanks
Ranganath