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

Changes

RevisionDateWhoCommit message
85:4b1489cd5623 2016-09-19 K4zuki fix indents default tip
84:394b8cc7bef2 2016-09-14 Kazuki Yamamoto the 's' flag shall be set false at start of every command loop
83:f10af47696bb 2016-09-12 Kazuki Yamamoto fix indent format
82:159258b3b099 2016-09-05 K4zuki [ 824 ] pinout change
81:886b32eed2bb 2016-09-04 K4zuki LPC1768: swap I2C1 and I2C2 pinouts
80:3cbe7972872b 2016-09-03 K4zuki main.cpp: formatting tab
79:15f5ee112e40 2016-09-03 K4zuki remove python sample
78:434514b8d383 2016-09-03 K4zuki remove force-LF attribute
77:1a5a6ddddb4b 2016-08-31 K4zuki merge github/master
76:fcbc456010e0 2016-08-31 K4zuki Merge branch 'master' of https://@developer.mbed.org/users/k4zuki/code/uart_i2c_conv
75:929f8172ea04 2016-08-31 K4zuki remove directories to load latest mbed program
74:df8653021151 2015-01-08 Kazuki Yamamoto .
73:cdda6b1328d1 2015-01-08 Kazuki Yamamoto .
72:65460c1ccc35 2015-01-04 K4zuki .
71:5dd699362c4b 2015-01-04 K4zuki target 11U24 added
70:efb63a01295e 2014-12-17 Kazuki Yamamoto [ LPC824 ] USB-UART pinout change
69:76ba147c9687 2014-12-17 Kazuki Yamamoto [ LPC824 ] pinout comment
68:4858e2c8a52b 2014-12-17 Kazuki Yamamoto [ LPC824 ] detailed description added
67:9fe00bc1ee36 2014-12-17 Kazuki Yamamoto [ LPC824 ] pinout changed for LPC824MAX
66:074c07beeca4 2014-12-17 Kazuki Yamamoto [ LPC824 ] I,O commands marged into R,W commands
65:7ac29939a24a 2014-12-16 Kazuki Yamamoto [ LPC824 ] register setting comment out
64:a1b19e7fb169 2014-12-16 Kazuki Yamamoto pinout change
63:4fadd3533ea3 2014-12-16 Kazuki Yamamoto [ LPC824 ] pin change, register setting
62:0e415024402a 2014-12-12 Kazuki Yamamoto small pinout fix
61:0c1d4f1816a1 2014-12-12 Kazuki Yamamoto ifdef switch added
60:ed81c84fc8fd 2014-12-11 Kazuki Yamamoto detailed pinout added
59:3c6966567c9c 2014-12-11 Kazuki Yamamoto [ NEW ] pinout.txt
58:3d66a6101bce 2014-12-11 Kazuki Yamamoto [ LPC824 ] Pinout setting(commented out)
57:57fcd2c3648a 2014-12-10 Kazuki Yamamoto [ LPC824 ] I and O commands implemented
56:2c0697032c80 2014-12-10 Kazuki Yamamoto [ LPC11UXX ] R,W commands implemented
55:10ba2528528b 2014-12-09 Kazuki Yamamoto [ LPC824 ] R, W commands fix
54:4a7740ca8235 2014-12-08 Kazuki Yamamoto [ LPC824 ] S, W commands fix
53:90362e3a781c 2014-12-08 Kazuki Yamamoto [ HAL ][ LPC824 ] R command fix
52:a263f9ac9344 2014-12-06 Kazuki Yamamoto =added enum, chip id type change
51:d215a54eb287 2014-12-05 Kazuki Yamamoto [ LPC824 ] R command fix
50:ec48dfd51a97 2014-12-04 Kazuki Yamamoto [ LPC824 ] R and W commands implemented
49:bb9170100094 2014-12-04 Kazuki Yamamoto [ HAL ]cut comment
48:acf432e51b00 2014-12-04 Kazuki Yamamoto [ HAL ] [ LPC824 ] cut comment and additions
47:8c1a227fdcc2 2014-12-03 Kazuki Yamamoto [ HAL ] [ LPC1768 ] new
46:6f9a3183164e 2014-12-03 Kazuki Yamamoto [ HAL ] [ LPC11UXX ] new
45:de0a2bb0337b 2014-12-03 Kazuki Yamamoto [ REMOVE ] serial2i2c.py
44:4d7873d70b16 2014-12-03 Kazuki Yamamoto [ HAL ] [ LPC824 ] new
43:c10eff04de48 2014-12-03 Kazuki Yamamoto :circus_tent: Added .gitattributes & .gitignore files
42:da85c17ea495 2016-08-30 k4zuki add headers and settings.h to switch 11U3x/824/1768; 11U3x requires to add USBSerial library in project
41:b7c84115a2dd 2014-10-21 k4zuki removed unused variables; fixed coding format; commented out unused code
40:78e0ee75a604 2014-10-21 k4zuki removed unused variables; fixed coding format; commented out unused code
39:5817c3e6ce1e 2014-10-17 k4zuki formatting code only S and P commands implemented
38:9d12c615c8ea 2014-10-17 k4zuki first version to publish; "tested" python code to use this program attached;
37:b263866a9d1b 2016-08-31 K4zuki remove directories to load latest mbed program
36:ffbd9829c8d1 2016-08-30 k4zuki add headers and settings.h to switch 11U3x/824/1768; 11U3x requires to add USBSerial library in project
35:2a30eb213cf0 2015-01-08 Kazuki Yamamoto .
34:a3c5894c19a3 2015-01-08 Kazuki Yamamoto .
33:ac7bc7f60397 2015-01-04 K4zuki .
32:12956109c20a 2015-01-04 K4zuki target 11U24 added
31:87d60b1b27c8 2014-12-17 Kazuki Yamamoto [ LPC824 ] USB-UART pinout change
30:d22dd292c925 2014-12-17 Kazuki Yamamoto [ LPC824 ] pinout comment
29:fede50040202 2014-12-17 Kazuki Yamamoto [ LPC824 ] detailed description added
28:1fe126593ba1 2014-12-17 Kazuki Yamamoto [ LPC824 ] pinout changed for LPC824MAX
27:53a29982d658 2014-12-17 Kazuki Yamamoto [ LPC824 ] I,O commands marged into R,W commands
26:7810c849cb78 2014-12-16 Kazuki Yamamoto [ LPC824 ] register setting comment out