Hi, does anyone know where can I find the TWRPI-MMA845XQ schematics? I have looked everywhere and havent been able to find it.
Thank you very much! I agree with the lack of some documentation, but I am very well impressed with the improvements in many of the labs and tutorials documentation.
Cata.
As I understand it, the you need to match up the datasheet info for the part itself, and what pins are available on the sockets, which is quite annoying.
If you look in http://cache.freescale.com/files/32bit/doc/ref_manual/TWR-K40X256-UM.pdf?fpsp=1, you'll find the socket pinout:
TWRPI AN0 (J8 Pin 8) ― ADC0_DP0/ADC1_DP3
TWRPI AN1 (J8 Pin 9) ― ADC0_DM0/ADC1_DM3
TWRPI AN2 (J8 Pin 12) ― ADC1_DP0/ADC0_DP3
TWRPI ID0 (J8 Pin 17) ― ADC0_DP1
TWRPI ID1 (J8 Pin 18) ― ADC0_DM1
TWRPI I2C SCL (J9 Pin 3) PTC10 I2C1_SCL
TWRPI I2C SDA (J9 Pin 4) PTC11 I2C1_SDA
TWRPI SPI MISO (J9 Pin 9) PTB23 SPI2_SIN
TWRPI SPI MOSI (J9 Pin 10) PTB22 SPI2_SOUT
TWRPI SPI SS (J9 Pin 11) PTB20 SPI2_PCS0
TWRPI SPI CLK (J9 Pin 12) PTB21 SPI2_SCK
TWRPI GPIO0 (J9 Pin 15) PTC12 PTC12
TWRPI GPIO1 (J9 Pin 16) PTB9 PTB9
TWRPI GPIO2 (J9 Pin 17) PTB10 PTB10
TWRPI GPIO3 (J9 Pin 18) PTC5 PTC5
TWRPI GPIO4 (J9 Pin 19) PTA5 PTA5
The accelerometer has I2C pins, and two interrupt pins. So the only way it can work is if the I2C interface comes in on pins I2C1_SCL and I2C1_SDA. No idea if the interrupts map to any of the GPIO pins.
The tower system seems really well thought out, but Freescale seems to be really lacking in providing this sort of documentation.
-Jim