UART to I2C master(s) converter, targetting to emulate SC18IM700(NXP) chip

Dependencies:   mbed

UART to I2C master(s) converter, targetting to emulate SC18IM700(NXP) chip

Features

up to 4x I2C master

  • for LPC824 implement, we can use up to 4 channels of I2C masters
    • 1x Fm+ and 3x Fm I2C channels
  • for LPC1768 implement, we can use up to 2 channels of I2C masters
    • 2x Fm I2C channels
  • for LPC11U35 implement, only one channel for I2C master, but program uses USB CDC class for UART communication (means no external USB-Serial converter chip)
    • 1x Fm+ I2C channels

1x SPI master

up to 2x 8bit GPIO

Tested Platforms

LPC824

LPC1768

LPC11U35

Quote:

LPC11U35 implement requires importing USBDevice library to use USBSerial class

visit https://github.com/K4zuki/tinyI2C for more information

Revision:
41:b7c84115a2dd
Parent:
40:78e0ee75a604
Child:
42:da85c17ea495
--- a/main.cpp	Tue Oct 21 03:55:14 2014 +0000
+++ b/main.cpp	Tue Oct 21 03:55:34 2014 +0000
@@ -80,7 +80,7 @@
                             break;
                         case I2C3adr:
                             bus=0x08;
-//pc.printf("ch0 is not implemented,");
+//pc.printf("ch3 is not implemented,");
                             channel='0';
                             //dev=&dev4;
                             break;