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 11:56
Read: times


 
#65867 - LPC932 with simple I2C peripherals
Hello,

I want to connect simple peripherals (like memory and RTC) to the LPC932
via I2C bus. The LPC932 is always master, and polling is sufficient (I don't
want SI to generate interrupts in this application).
The application notes of the LPC932 (and other Philips controllers with a
similar I2C controller) contain only interrupt driven examples and C code.

I am looking for "simplest-as-possible" assembly code just for "master
transmit" and "master receive" communications with only basic/crude
error handling capabilities (code space is critical).

My first tries with master transmit seemingly work fine, however there
are some problems with the master receive mode - the incoming data
at I2DAT seems to be one byte late (or I missed one SI event - the
documentation is somewhat unclear in this concern...).

Can anyone help?
TIA, Tilmann

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