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.

TDA3MA: i2c address format with repeated start condition

Part Number: TDA3MA

Hi expert,

Because customer's i2c slave chip only support address format with repeated start condition on TDA3. But we don't find any detail and example in TRM and PSDK. Could you please help to suggest how to use this mode on TDA3? Thank you.

Regards,

Allen 

  • Hi,

    You can initiate the i2c transfer with restart condition as below.
    1. from first start to next start in first transaction
    in the i2c_con register set start bit and do not set stop bit.
    2. from next start to stop in next transaction
    in i2c_con register set both start and stop bit.

    PDK driver package has the example implementation regarding the same.
    In case of register read type of i2c transaction
    we need to send the start and reg address in first transaction followed by another start and read the data from slave in second transaction.

    You can refer the implementation of the read APIs (Ex.Bsp_deviceRead8) in <pdk_install_dir>\packages\ti\drv\vps\src\devices\src\bsp_deviceI2c.c

    Regards,
    Prasad