This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: TDA4VM

Part Number: TDA4VM
Other Parts Discussed in Thread: CDCE937

Hi experts,

I want to use MAIN_I2C0  in TIRTOS which run in main_r5f_0_0, and i call the following funciton to enable MAIN_I2C0:

handle = Board_getI2CHandle(BOARD_SOC_DOMAIN_MAIN,0);
CpswAppUtils_assert(handle != NULL);
Board_i2c8BitRegRd(handle,0x6d,i,&data,0x1,2000u);

Why the RTOS always stuck at the below place?

/* wait for bus busy */
while(I2CMasterBusBusy(hwAttrs->baseAddr)==0)
{
}

How to init a i2c bus in TI-RTOS?

Thanks,

Hutian