Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: BAStumm on June 05, 2014, 06:05:23 PM

Title: MOD-TC-MK2-31855
Post by: BAStumm on June 05, 2014, 06:05:23 PM
For v2 firmware I found some C code to read from this sensor, https://github.com/OLIMEX/OLINUXINO/blob/master/SOFTWARE/iMX233/MOD-TC-MK2/main.c

For v3 firmware I am struggling to read from the i2c so I was wondering if there is an updated version of this code for the new firmware?
Title: Re: MOD-TC-MK2-31855
Post by: BAStumm on June 05, 2014, 06:34:37 PM
What I'm finding confusing is that when I try the GET_ID command (send 0x20 over i2c) the data returned is 0xa7 instead of the expected 0x27. ???