Is there sample code available for the following setup ?
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
LCDC_LDCR &= ~(LCDC_LDCR_BURST_MASK);
#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 :
d4dlcdhw_k70_lcdc.c -> LCDC_LDCR &= ~(LCDC_LDCR_BURST_MASK); // STOPS HERE !!
Any help/idea's are welcome!
Many thanks in advance