Access I2C on Fastrack M1306B


#1

So how does one access the I2C functionality of these IO access points using Open-AT?

The M1306B User Guide doesn’t even mention I2C… :frowning:


#2

Hello awneil.

Please refer to M1306B PTS (revision 002, page 19). You’ve got 2 GPIOs below the power supply pins, which are GPIO4 and GPIO5, same as with Q2406B. Just use the GPIO definitions for GPIO4 and GPIO5 from Q2406B. This works fine with I2C bus. You just have to subscribe to the bus services in Open AT with the appropriate ports (GPIO 4&5) assigned to SCL and SDA. Then use Open AT APIs for data transfer.