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
Dear Stefan as many others I have problems to get the I2C routines on the XC161CS-32F working. I would appreciate if you could share your code. My email:dhandzic@plantron.se
Hello Dirk, I sent it, please check your account. Stefan
Really nice to see that this topic is still interesting for a lot of people. :)
Hallo Stefan, Könntest Du mir den Low-Level-Treiber von Infineon auch zukommen lassen. Habe auch Probleme den I2C-Bus ans laufen zu bekommen. Email: m.stahl@moba.de Danke im vorraus. Dear Stefan could you share your code. I have also some problems with the i2c-routines. email: m.stahl@moba.de Best regards
Hi Michael, I sent it. With german remarks ;-). Check your account. Stefan
hello, i'm working with xc167 an also had many problems with i2c. is it possible to share your code an send it to me? thanks a lot. e-mail: mo@mimot.de michael
Hi Michael, done.
Hi Stefan, although this thread is over 18 months old now, today I experienced exactly the same problems while implementing a serial eeprom driver. So, may I humbly ask you for your routines too? Thank you very much in advance. My email is uwe.roth@web.de Uwe
Hi Uwe, the routines are based on the hardware implemented I2C module of XC16x devices. So I am not sure, whether they would be usefull to you. If you want them still, however, I see no problem to mail them to you. Let me know Stefan
Yes, of course. I'm using (i.e. I'm trying to use) the IIC of a XC161CJ (in polling mode). Using the Pins of P9 with a software emulated I2C Bus would be an alternative, but I'd like to avoid this. Uwe
Hi Uwe, sorry for delay, I will mail it in some minutes. Good luck, Stefan
You may also find this useful: http://www.keil.com/download/docs/xc16x_i2c_ex.zip.asp
Hi Matthias, yes you are right. I will provide this link next time again too. Unfortunately I discovered this nice XC167 example, just few a days before. Thanks, for remember this, Stefan
Hi Stefan, could you please send me your sources too. I'm working on a project with the C161pi and looking for suggestions how to handle i2c communication. German comments are very welcome. Please send it to bazoon@arcor.de Thank you very much.
Hi Martin, I sent it. Stefan
Hello, I was just casually reading this thread because I have recently been writing some interrupt driven functions for the System management bus(similiar to I2C). I see requests for routines which "work" but no discussion of the root problem (in the hardware module?). Why does an extra read operation fix things up?