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: Board to Board communication via I2C

Part Number: TDA4VM

Hi TI,

I want to establish a communication between two J721e Boards via I2C bus. 

The documentation of PSDK RTOS I2C chapter (software-dl.ti.com/.../i2c.html) mentions, that there was (?) an example project named I2C_master/slave which is exactly what I am looking for. Unfortunetaly, this project can not be build for J721e platform. 

Is there any similar example, which shows how to communicate between two j721e boards via I2C?

Thanks for your help and best regards,

Felix

  • Hi Felix,

    This example is not available for j721e, but you can port it from AM65xx.
    Also, can you tell if you are using a custom board or a TI EVM?

    Regards,
    Parth

  • Hi Parth, 

    thanks for your hint. I am using TI EVM Board J721E. Additionally. can you can you recommend any I2C Pins, which are easily accessible on Common Processor Board /SoM Board? (I do not have any additional expansion boards like GESI).

    Thanks again and best regards,

    Felix

  • Update: I downloaded PSDK RTOS for AM65xx (Version 08.00). But there are also no source files available to build I2C Master or Slave app.

    felix@felix-virtual-machine:~/ti/pdk_am65xx_08_00_00_36/packages/ti/build$ make I2C_Master_TestApp
    Nothing to be done for j721e I2C_Master_TestApp
    felix@felix-virtual-machine:~/ti/pdk_am65xx_08_00_00_36/packages/ti/build$ make I2C_Slave_TestApp
    Nothing to be done for j721e I2C_Slave_TestApp
    felix@felix-virtual-machine:~/ti/pdk_am65xx_08_00_00_36/packages/ti/build$ make I2C_Master_TestApp BOARD=am65xx_evm
    Nothing to be done for am65xx I2C_Master_TestApp
    felix@felix-virtual-machine:~/ti/pdk_am65xx_08_00_00_36/packages/ti/build$ make I2C_Slave_TestApp BOARD=am65xx_evm
    Nothing to be done for am65xx I2C_Slave_TestApp
    felix@felix-virtual-machine:~/ti/pdk_am65xx_08_00_00_36/packages/ti/drv/i2c/test$ ls
    eeprom_read
    

  • Hi Felix,

    Apologies for wrong information in the previous post. You can find the master slave example in AM57x RTOS SDK at <pdkInstallPath>\packages\ti\drv\i2c\test\master_slave\src. You can refer it there,. Once again sorry for the trouble caused due to wrong information in the previous post.

    Regards,
    Parth

  • I2C0 is available on header J9 on the Common Processor board (pin 1: SCL, pin 3: SDA, pin 2: GND)