I'm working on a project with school and I'm currently trying to figure out the coding. I am having problems with having the TWR-S12G128 MC communicate with the TWR-LCD. Before I continue on, I would like to know if these two modules are compatible at all. I was looking at the drivers for the LCD and it has a folder called 's12_spi_16b' so there must be a way for the two work together. Reasons for using the TWR-S12G128 is that I have had previous experience with it. I would appreciate any help with just starting programming with CodeWarrior and I believe I can go from there.
All tower modules are compatible. Otherwise the tower system wouldn't be modular.
In this case, the MCU module and peripheral module can communicate via SPI (and most probably UART). The micro which drives the display on TWR-LCD modules has SPI routed to primary elevator and it mathces with the SPI of the MCU module.
But the touch screen interface seems not to be directly connected to MCUs ATD pins via elevator connection. You should somehow ensure the following pins are connested to MCU ATD channels:
AN4 // Touch X+
AN5 // Y-
AN6 // X-
AN7 // Y+
Of course, you can use any available ATD channels (ANx) on the MCU.