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

Revisions of main.cpp

Revision Date Message Actions
85:4b1489cd5623 2016-09-19 fix indents File  Diff  Annotate
84:394b8cc7bef2 2016-09-14 the 's' flag shall be set false at start of every command loop File  Diff  Annotate
83:f10af47696bb 2016-09-12 fix indent format File  Diff  Annotate
80:3cbe7972872b 2016-09-03 main.cpp: formatting tab File  Diff  Annotate
78:434514b8d383 2016-09-03 remove force-LF attribute File  Diff  Annotate
76:fcbc456010e0 2016-08-31 Merge branch 'master' of https://@developer.mbed.org/users/k4zuki/code/uart_i2c_conv File  Diff  Annotate
42:da85c17ea495 2016-08-30 add headers and settings.h to switch 11U3x/824/1768; 11U3x requires to add USBSerial library in project File  Diff  Annotate
41:b7c84115a2dd 2014-10-21 removed unused variables; fixed coding format; commented out unused code File  Diff  Annotate
40:78e0ee75a604 2014-10-21 removed unused variables; fixed coding format; commented out unused code File  Diff  Annotate
39:5817c3e6ce1e 2014-10-17 formatting code only S and P commands implemented File  Diff  Annotate
38:9d12c615c8ea 2014-10-17 first version to publish; "tested" python code to use this program attached; File  Diff  Annotate
36:ffbd9829c8d1 2016-08-30 add headers and settings.h to switch 11U3x/824/1768; 11U3x requires to add USBSerial library in project File  Diff  Annotate
3:519893d7f038 2014-10-21 removed unused variables; fixed coding format; commented out unused code File  Diff  Annotate
2:feca9fa9a018 2014-10-17 formatting code only S and P commands implemented File  Diff  Annotate
0:b597ed665b76 2016-08-30 restart from empty File  Diff  Annotate