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
  • Hi Dennis,

    it is very good for me to hear I was able to help you with this code.
    I had only one additional reserve in background in case of problems with reading back.
    My costumer was lucky too with this code as I told.
    It is a little bit pitty that Rolf did not answer.
    As you know I send him the code too.
    OK- but important is, that you had solved the problem, so I am quite happy.

    Stefan

Reply
  • Hi Dennis,

    it is very good for me to hear I was able to help you with this code.
    I had only one additional reserve in background in case of problems with reading back.
    My costumer was lucky too with this code as I told.
    It is a little bit pitty that Rolf did not answer.
    As you know I send him the code too.
    OK- but important is, that you had solved the problem, so I am quite happy.

    Stefan

Children
  • Dear Dennis & Stefan,

    sorry about the response delay,
    but I had to focus on some other matters.

    I have given the code a short glimps, and I think it will be helpful for me when I continue working with the IIC-Code.

    I got the routine I was working with at the time up and running before I recived your email Stefan, but I am grateful for your assistance,maybe I'll come back to you later regarding this...

    Best regards,

    Rolf

  • Hi Stefan and everybody,

    sorry for not english language, i have problems with it :-(

    Hallo, Stefan, ich beschäftige mich momentan ebenfalls mit dem I2C-Modul beim XC161-Controller und habe die gleichen Probleme die in diesem Forum vor einem Monat diskutiert wurden. Es funktioniert zwar, aber mit komischen Effekten. Bisher habe ich weder Application Notes noch funktionsfähige
    C- bzw. Assembler-Routinen gefunden. Ich habe in Forum gelesen, dass Du einige hattest. Ich wäre Dir sehr dankbar sein, wenn Du mir diese an igoreq@web.de zukommen lassen könntest, weil ich nirgendwo im Internet Hilfe zu diesem Thema finden kann.

    Vielen Dank im voraus.

    PS Ich habe keine Deine E-Mail Adresse, deswegen deswegen muß ich diesen Berich im Forum veröffentlichen.

  • Hallo Igor,

    ich sende Dir den Low-Level-Treiber zu.
    Bis jetzt hat er geholfen.
    DAvE generiert die Routinen uebrigens falsch.

    Stefan

    Hi Igor,

    I send you the low level driver.
    Up to now it was allways helpfull.
    By the way DAvE generates wrong routines.

    Stefan

  • Dear Stefan and Friends,

    I am also working on an I2C – EEPROM(FM24C256) application for XC167, so far I have used Dave generated code but I got into trouble. Writing works fine but reading…not.
    Stefan, is it possible for me to share your I2C code? My e-mail address is ai(at)home.se

    With best regards,

    Atsushi Ishii