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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/19/09 06:48
Read: times


 
#168979 - There is difference for I2C in lpc93x & 66x
Responding to: ???'s previous message
Erik Malund said:
the code generated by the CodeArchitect (free from http://www.esacademy.com) for the lpc935 will work on the 66x. You may want to 'massage' it a bit, but it works 'out of the box'


There are basic differences between 2 of them as far as SFR are concern.

1. In case of lpc93x (& 669) there are 2 registors in SFR that decides clock speed. While for 66x (other than 669) only 3 bits decides speed, also these 3 bits are in I2C Control Registor.

2. As speed deciding bits are in control registor; one has to be very carefull while altering contents of registor (I prefer to use setb & clr for bits like STO, STA etc...) in case of 66x (other than 669)

Regards,
Mahesh

List of 7 messages in thread
TopicAuthorDate
I2C Slave Implementation            01/01/70 00:00      
   with the exception of ...            01/01/70 00:00      
      There is difference for I2C in lpc93x & 66x            01/01/70 00:00      
         did you not read ?            01/01/70 00:00      
            I am not contradicting !!!            01/01/70 00:00      
   General Call Address            01/01/70 00:00      
      Thanks            01/01/70 00:00      

Back to Subject List