Author |
Message |
Topic: EEPROM and RTC on same I2C bus? |
toxie
Replies: 21
Views: 28841
|
Forum: General CCS C Discussion Posted: Mon Jul 20, 2009 6:02 pm Subject: EEPROM and RTC on same I2C bus? |
I've noticed that the PIC16F690 is behaving strange. I'm getting junk on uart when the internal oscillator is enabled, when I put an external oscillator I'm getting junk only on bootup ... so maybe th ... |
Topic: EEPROM and RTC on same I2C bus? |
toxie
Replies: 21
Views: 28841
|
Forum: General CCS C Discussion Posted: Mon Jul 20, 2009 3:23 pm Subject: EEPROM and RTC on same I2C bus? |
Checked it again and yes.
Because i`m supplying the whole circuit from my pickit2 programmer is there a possibility that, when i insert the eeprom some voltage drop occurs which causes this ? I have ... |
Topic: EEPROM and RTC on same I2C bus? |
toxie
Replies: 21
Views: 28841
|
Forum: General CCS C Discussion Posted: Mon Jul 20, 2009 2:44 pm Subject: EEPROM and RTC on same I2C bus? |
I commented the the line with external interrupt. I have to mention that I need the external interrupt in my program. But for the test it`s commented out.
1.Yes the problem occurs when i plug the e ... |
Topic: EEPROM and RTC on same I2C bus? |
toxie
Replies: 21
Views: 28841
|
Forum: General CCS C Discussion Posted: Mon Jul 20, 2009 2:15 pm Subject: EEPROM and RTC on same I2C bus? |
Version 4.016
Here is the code.I`ve stripped the main code only to test the PCF8583 and to be short as You said.The problem still occurs in the presence of the AT24C16A.
//#include <main.h> ... |
Topic: EEPROM and RTC on same I2C bus? |
toxie
Replies: 21
Views: 28841
|
Forum: General CCS C Discussion Posted: Mon Jul 20, 2009 3:21 am Subject: EEPROM and RTC on same I2C bus? |
For the PCF8583 I'm using the driver from
http://www.ccsinfo.com/forum/viewtopic.php?t=27988
For the AT24C16A currently I have no driver. I will have to get it or to write on my own.
A0,A1,A2 ar ... |
Topic: EEPROM and RTC on same I2C bus? |
toxie
Replies: 21
Views: 28841
|
Forum: General CCS C Discussion Posted: Sun Jul 19, 2009 5:15 pm Subject: EEPROM and RTC on same I2C bus? |
I`m having some issues with PCF8583 and ATMEL 24C16A on the same i2c bus.When i insert the eeprom the PCF resets itself to a value i`ve programmed in to it at start, it stops counting and the year is ... |
|