Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/24/08 07:35
Read: times


 
#159294 - PROBLEM IN I2C WITH P89C668
DEAR FRIENDS,

I AM HAVING A PROBLEM WHILE ACCESSING AT24C16 ON I2C USING P89C668.

MY PAST EXPERIENCE ON I2C IS AS FOLLOWS
Used P89c669 in master mode & established communication with following

1> another p89c669 as slave
2> p89lpc932/ 936 as slave
3> ds1307
4> at24c16

this is done by using I2C interrupt with bitrate of 60k (@ 24MHz crystal).

ALL ABOVE COMMUNICATIONS ARE SUCCESS


NOW IN MY NEW PROJECT I AM USING P89C668 AS MASTER WHICH HAS TO COMMUNICATE WITH

1> DS1307
2> AT24C16

ACCORDING TO CALCULATIONS I HAVE CONFIGURED IC AT 86.4K BITRATE(@ 11.059MHz, 6CLOCK)
(CALCULATIONS ARE GIVEN IN .PDF OF 668, WITH CR2 = CR1 = CR0 = 0, BITRATE = OSC FREQ / 128)

MY PROBLEM IS MY ROUTINES ARE WORKING CORRECTLY WITH DS 1307; BUT
I AM NOT ABLE TO COMMUNICATE WITH AT24C16


REGARDS,

MAHESH

List of 25 messages in thread
TopicAuthorDate
PROBLEM IN I2C WITH P89C668            01/01/70 00:00      
   Oscilloscope            01/01/70 00:00      
   Check your hardware I2C addressing            01/01/70 00:00      
   Re to David & Per            01/01/70 00:00      
      Reducing the bit-rate is irrelevant            01/01/70 00:00      
         you can, with VERY minor modifications ...            01/01/70 00:00      
   observations till 2 pm IST            01/01/70 00:00      
      check your hardware again            01/01/70 00:00      
         Re: david            01/01/70 00:00      
            A complete mystery            01/01/70 00:00      
   NEW DEVELOPEMENT            01/01/70 00:00      
      A good test setup            01/01/70 00:00      
         Re: A good test setup            01/01/70 00:00      
      Write your name to the DS1307 RAM            01/01/70 00:00      
         DS1307 max RAM is.....            01/01/70 00:00      
            My data sheet says RAM 0x08 to 0x3F            01/01/70 00:00      
               Sorry David            01/01/70 00:00      
                  Please post your code.            01/01/70 00:00      
                     not 12 individual writes            01/01/70 00:00      
                        Without the code this will go on forever            01/01/70 00:00      
            i2c code            01/01/70 00:00      
               Code?            01/01/70 00:00      
               WHY ON EARTH ...            01/01/70 00:00      
                  Mahesh has a problem with HIS code            01/01/70 00:00      
               I have added code-tags to Praveen's i2c code            01/01/70 00:00      

Back to Subject List