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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/03/04 16:22
Read: times


 
#65884 - RE: LPC932 with simple I2C peripherals
Responding to: ???'s previous message
Tilmann:

The I2C peripheral on your processor works similar to the I2C/SMBus peripheral on a Cygnal C8051F126 controller. I used this peripheral in support of an AT24C01 serial EEPROM with interrupts and found the overall code size small. The code is shown in the the document linked below and contains well commented assembly language including the routines that support the EEPROM device specifically. Look in the attached listing from code label _EE_WRITE: through the end of the subroutine at label SMBus_MRDBNACK:. Looking at the assembler output listing I found this to use 248 bytes. (That does not include the interrupt vector itself)..

Loader code with I2C ISR Implementation

Michael Karas

List of 23 messages in thread
TopicAuthorDate
LPC932 with simple I2C peripherals            01/01/70 00:00      
   RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
      RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
         RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
            RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
               RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
                  RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
               RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
                  RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
                     RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
                        RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
                           RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
                              RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
                                 RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
                                    RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
                                    RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
                                       RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
                                    RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
                        RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
               RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
                  RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
                     RE: LPC932 with simple I2C peripherals            01/01/70 00:00      
   RE: LPC932 with simple I2C peripherals            01/01/70 00:00      

Back to Subject List