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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/30/06 21:03
Read: times


 
#128797 - the address issue ...
Responding to: ???'s previous message
is one of the most botched thing in IIC.

e.g. if you look for the address of a common eeprom, you can find it a 0xa0 (which, of course, shall not be shifted) and in other places, you can find it as 0x50 (which, of course, must be shifted).

Find a well known device from the same manufacturer and see if that particular manufacturer uses the shifted or unshifted annotation of the address. I never shift the address, if the chip I use uses unshifted, I just declare the shifted (e.g. if a serial EE is listed as 0x50, I define it as 0xa0). Another way to find out if shifted or unshifted is that, often in the timing diagrams you can see what the shifted address is.

Obviously, if you define the RTC you give a link to as having an address of 0xd0, the address should not be shifted.

Erik

List of 28 messages in thread
TopicAuthorDate
P89LPC936 I2C            01/01/70 00:00      
   use CodwArchitect            01/01/70 00:00      
   I did            01/01/70 00:00      
      no, I do not do 'time'            01/01/70 00:00      
         It's me            01/01/70 00:00      
   Erik I need help            01/01/70 00:00      
      what about AA?            01/01/70 00:00      
      Here!            01/01/70 00:00      
         read the p89v66x datasheet and go through            01/01/70 00:00      
   What about this            01/01/70 00:00      
      the address issue ...            01/01/70 00:00      
   Don't shift            01/01/70 00:00      
      In other words if a slave uC (or some other            01/01/70 00:00      
   SI != 0            01/01/70 00:00      
      I do not handle bits, I write the SFR in one go            01/01/70 00:00      
         What is that?            01/01/70 00:00      
            sorry, SILABS SFR doing exactly the same            01/01/70 00:00      
               I tried            01/01/70 00:00      
                  are you using a bondout?            01/01/70 00:00      
                     Yes            01/01/70 00:00      
                        try it the old fashioned way            01/01/70 00:00      
                           OK            01/01/70 00:00      
                              is this easier to understand?            01/01/70 00:00      
                                 It Cleared            01/01/70 00:00      
                                    send an e-mail            01/01/70 00:00      
   OK            01/01/70 00:00      
   License Expired            01/01/70 00:00      
      let your friendly local NXP contact know            01/01/70 00:00      

Back to Subject List