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
Hi, Am working with XC167CI-16F, am trying to read sonar sensors SRF08 via I2C bus, and I used the code used for eeprom in keil's website but I still have problem that I cant read this sensor while I need to read it ... I dont want to write on it ... at least I need to read that sonar... Please help me and thanks.. I.J
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
I have a project (XC167) that I created some time ago to communicate via I2C to a SRF08 sensor (polled) and then send the results out the serial port. If interested post your email address and I will send it to you.
-Chris
Great!
terry.hansen@aevehicles.com
Thanks for the help.