This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

XC161CJ and I2C

Hi Everybody,

I'm experimenting with Infineon's XC161CJ-controller on an Infineon SK-XC16x starter kit. Most of my routines work now, except the I2C-routines. Sending of data works OK, but the errors occur when I want to receive data.

Has anybody on this forum written I2C-routines for this controller? And if so, are you willing to share them?

Thanks in advance. :)

Kind Regards,
Dennis Ebben

Parents
  • I am working with an XC167 PhyCore module in a battery management system for an electric vehicle and have the same problem. The KEIL code is very close to accurate. The waveforms on the output look correct during write, however read hangs after the first byte.

    Does anyone have a working low-level driver for the XC167 IIC module? Or maybe just an explanation of the sequence you go through to send and receive bytes with the IIC?

    Thanks in advance.

    Terry Hansen
    AEV

Reply
  • I am working with an XC167 PhyCore module in a battery management system for an electric vehicle and have the same problem. The KEIL code is very close to accurate. The waveforms on the output look correct during write, however read hangs after the first byte.

    Does anyone have a working low-level driver for the XC167 IIC module? Or maybe just an explanation of the sequence you go through to send and receive bytes with the IIC?

    Thanks in advance.

    Terry Hansen
    AEV

Children