TWR-LCD with eGUI (D4D) and MQX on TWR-K70F120M

Discussion created by friederschrempf on Apr 3, 2013
Latest reply on Apr 29, 2013 by big_steve

I'm trying to set up a TWR-LCD Module on a TWR-K70F120M using MQX 4.0 and the eGUI D4D driver.

I configured the d4d_user_config.h to use SPI on MQX and the SSD1289 controller.

I checked the D/C and CS signals and the DIP switches, still I can't see anything on the screen.

On the scope I noticed the SCK signal keeping on clocking another 16 times with DATA=0 although 16 bits have already been send with "fwrite ( &p_color, 2, 1, spi_fd);", what seems strange to me.

I compared to the SCK signal produced by the TWR-LCD onboard CPU with the working JM128_BL_EGUI_SPI example which does not have this extra "empty word" beeing sent.

The eGUI version 2.1 seems to have support for K60 devices. What changes are needed to get the K70 working under MQX?

Can anybody help me? Does someone have some code already running for my setup?