The LPC11U6x USB to I2C Bridge project utilizes NXP’s USB Serial I/O (LPCUSBSIO) library to demonstrate the I2C sensor control via the full speed USB functionality on LPC11U6x.
The LPC11U68 Development Board and LPCXpresso board enumerate as HID devices on the windows PC. The GUI program talks to LPC11U6x through USB HID device class protocol. Upon start, this window side application automatically scans the I2C devices found on the hardware. On the Manley board, this GUI can monitor the on board I2C temperature sensor. When demonstrating this implementation with the LPC11U6x LPCXpresso board, the EA LPCXpresso base board should be connected for richer user experience. When the EA LPCXpresso base board exists, this GUI application can control the LEDs on the LPCXpresso base board via the I2C Expander PCA9532 on board. The binary and source code of the GUI application is available for download at the end of this project page.
All packages are built with LPCOpen structure and are available for download from this page. Within the Keil and IAR Manley board packages there are two demos. The LCD demo will require a Keil/IAR official license to build. In addition, to use the LPCXpresso IDE, user need to use the latest LPCXpresso IDE avaialble from download here.