AnsweredAssumed Answered

Sample code request eGui + TWR-K70 + TWR-LCD-RGB + MQX + CW

Question asked by christophe michiels on Dec 18, 2012
Latest reply on Aug 12, 2014 by Pascal Irrle



Is there sample code available for the following setup ?



MQX 3.8.1

CodeWarrior 10.2

TWR-K70 & TWR-LCD-RGB (rev B)


This would really help me!


I tried to port K70_eGUI_PE sample code to MQX, but with no success so far. (see details and problem below)



I have a bare metal demo K70_eGUI_PE.

This is  eGui + PE+ CW10.2 for the TWR-K70 en TWR-RGB-LCD. It works ok.


I copied all D4D code into a new MQX 3.8.1 demo application. Compiling is ok, but it crashes in  d4dlcdhw_k70_lcdc.c when setting the DMA Burst mode register.

  //Set background plane DMA to burst mode



d4d_user_cfg.h :

#define D4D_LLD_LCD d4dlcd_frame_buffer   // the name of low level driver descriptor structure

#define D4D_LLD_LCD_HW d4dlcdhw_k70_lcdc

#define D4D_LLD_TCH  d4dtch_cr_touch


I don't get further than :

Main.c :


d4dlcdhw_k70_lcdc.c -> LCDC_LDCR &= ~(LCDC_LDCR_BURST_MASK);    // STOPS HERE !!


Any help/idea's are welcome!


Many thanks in advance