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.

AM2631: Supporting 4ch I2C master with PRU

Part Number: AM2631

Hi Experts,

My customer is looking for a device that supports 8ch i2c master and Ethernet. I believe AM263 is the best match but we need to extend 4ch of i2c master with pru.

Is there any example of i2c on am263x pru? 

Regards,

Hang

  • Hi Hang,

    The AM263x MCU does have 4 I2Cs, which can act as I2C Master, and Gigabit ethernet support as well. Apart from that we also have the Industrial Communications Sub-System (ICSS), which as PRU cores.

    Can you please help me with the exact I2C requirements?

    - What is the I2C freq requirement for all I2Cs (4 hardware I2Cs)?
    - Is there any requirement for multi-slave addressing?
    - Would customer be okay for a PRU Firmware based simulation of I2C, since we only have 4 true hardware I2C peripherals on AM263x.
    - Is the customer planning to use ICSS in their project for other modules?

    I have a demo over AM261x which emulates 1 I2C master, but I will have to evaluate the capability to emulate 4 I2C masters over PRU on AM263x device with our ICSS team and get back.

    Also, You can read about the PRU here: AM26x PRU Academy

    Regards,
    Shaunak

  • Hi Shaunak,

    Yes, customer can use PRU I2C. They need 400K Freq, no need for multi-slave addressing,There is only 1 slave per master. No other usage for PRU-ICSS, all PRU can be used for I2C.

    Is your demo of 1 i2c master based on PRU? If yes you can send me the PRU sources first so I can check with the resources too. 

    Regards,

    Hang

  • Shared over webex

    Regards,
    Shaunak