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 need to read that sonar...any help please Please help me and thanks.. I.J
I can offer you support to help you move along. What I can provide you with is a small code snippet that uses the I2C peripheral and is interrupt driven. The code will read and write a 24LC16B EEPROM. Do you really need the RTC because you need an accurate time base? Or do you just need to know when your ranging has completed? If so it would be easier to use one of the general purpose timers instead. Anyway, if you post your email I send you the code and offer you some assistance. I also assume it is ok with your university to have outside help?
Dear Chris, Thanks alot for your support, I need your help and as i understood from the hardware manual that I should use the RTC clock with I2C bus modules for infineon XC167CI-16F. My emails are: g00022093@aus.edu OR ce_just@yahoo.com, you can use any of them and help me with this, for sure to learn this microcontroller I need support and my university will allow this for sure. Thanks, I.J
Ok, code example has been sent...