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

History

fix indents default tip

2016-09-19, by K4zuki [Mon, 19 Sep 2016 17:56:32 +0900] rev 85

fix indents


the 's' flag shall be set false at start of every command loop

2016-09-14, by Kazuki Yamamoto [Wed, 14 Sep 2016 22:52:24 +0900] rev 84

the 's' flag shall be set false at start of every command loop


fix indent format

2016-09-12, by Kazuki Yamamoto [Mon, 12 Sep 2016 01:01:23 +0900] rev 83

fix indent format


[ 824 ] pinout change

2016-09-05, by K4zuki [Mon, 05 Sep 2016 00:48:29 +0900] rev 82

[ 824 ] pinout change

- left-end is MSB of GPIO(SSCI824)
- SPI SCLK is next to GND(SSCI824)
- use USBTX/RX for UART(SSCI824)


LPC1768: swap I2C1 and I2C2 pinouts

2016-09-04, by K4zuki [Sun, 04 Sep 2016 22:52:53 +0900] rev 81

LPC1768: swap I2C1 and I2C2 pinouts

- I2C1 = p28 and p27
- I2C2 = p9 and p10


main.cpp: formatting tab

2016-09-03, by K4zuki [Sat, 03 Sep 2016 15:45:19 +0900] rev 80

main.cpp: formatting tab

- 4-spaces tab to 2-space tab


remove python sample

2016-09-03, by K4zuki [Sat, 03 Sep 2016 15:45:14 +0900] rev 79

remove python sample

- much better sample on github


remove force-LF attribute

2016-09-03, by K4zuki [Sat, 03 Sep 2016 00:47:37 +0900] rev 78

remove force-LF attribute


merge github/master

2016-08-31, by K4zuki [Wed, 31 Aug 2016 04:19:38 +0900] rev 77

merge github/master


Merge branch 'master' of https://@developer.mbed.org/users/k4zuki/code/uart_i2c_conv

2016-08-31, by K4zuki [Wed, 31 Aug 2016 02:39:01 +0900] rev 76

Merge branch 'master' of https://@developer.mbed.org/users/k4zuki/code/uart_i2c_conv