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.

AM263x Control card IO expander I2C issue

Other Parts Discussed in Thread: SYSCONFIG

Dear all,

we tried to configure the IO expander present on AM263x control card but every time we tried to write or read on I2C2 bus we got an acknowledgement error. 

Referring to spruj09a.pdf manual, on I2C2 bus there are some peripherals: IO expander, temperature sensor, led driver and so on... We tried to check with the scope the I2C2 SCL and SDA on temperature sensor but both lines remain pulled up and didn't move while they are driven. If we tried to use I2C1 bus the signal are perfectly present on HSEC connector.

Could you help us to understand which is the issue?

Waiting for your kind reply

Thanks

Best regards

Gianni Perugini

  • Hello Gianni,

    Can you answer a few questions so that I have a better understanding of the issue?

    • Are you using the E2 revision of the Control Card?
    • How are you driving I2C2?
    • Are you making use of the API's for the IO expander

    Regards,

    Erik

  • Hi Gianni, 

    The I2C2 onboard peripherals on revision E2 boards are all verified as functional prior to a new EVM being stocked for the e-store, so it unlikely this is a hardware issue. 

    However, the very first E1 rev boards had an I2C2 bus layout error. There was a pin-list error which swapped I2C2_SDA and I2C2_SCL. We had to fix this with a blue-wire mod that swapped these lines. So, if this isn't something caused by your specific I2C2 driver/mux implementation, then I am guessing that you might have one of the very first, limited release, E1 boards with this issue. Please verify. 

    Thank you,

    -Randy

  • Hi Randy,

    thanks for the answer. Yes, we have 3 boards version E1. My PCB part number, for example, is PROC110E1 (ASSY PROC110E1(001) . I can confirm that all our 3 boards have wires that connect the pull-up resistors of the I2C2 bus to the SCL and SDA pin of the temperature sensor. Unfortunately, as I said before, if I try to communicate with the temperature sensor I cannot measure any signals.

    Could you suggest me if there is a way to make the I2C2 working properly?

    Waiting for your kind reply

    Thanks

    Best regards

    Gianni Perugini

  • Hi Erik

    thanks for your answer.

    • No I'm using E1 revision of the cc with wires on the I2C2 that connect pull-up resistor with temperature sensor.
    • The I2C2 bus is driven by a piece of code that is implemented on CORE0. The same piece of code that control I2C0 and I2C1 without any problem.
    • No I'm not.

    Regards

    Gianni

  • Dear all,

    I solved my issue. When I added I2C2 to my project with sysconfig, I didn't notice that the tool selected pins C6 and A5 instead of B7 and C7.

    Anyway thanks for your help.

    Regards

    Gianni