Page 1
AN10369 UART/SPI/I C code examples Rev. 01 — 06 April 2005 Application note Document information Info Content Keywords UART, SPI, I Abstract Simple code examples are provided for UART0, SPI and I...
Suite) v1.2 compiler. Though the below code samples have been successfully tested on the LPC2106 it should work fine on rest of the Philips LPC2000 family devices after some minor modifications. Minor modifications could be setting the Stack pointer correctly (depending upon the SRAM present on chip), using the correct header files etc.
I C has been classified as an IRQ interrupt. LPC2106 is being used as a Master Transmitter and a Philips port expander PCF8574 is used as a slave device. Waveforms are shown to help the user to understand the communication better.
Application information — Applications that are described herein for any of at their own risk and agree to fully indemnify Philips Semiconductors for any these products are for illustrative purposes only. Philips Semiconductors damages resulting from such application.