Hi,
Is there sample code available for the following setup ?
eGui
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
LCDC_LDCR &= ~(LCDC_LDCR_BURST_MASK);
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 :
D4D_Init((D4D_SCREEN*)&screen_Demo);
d4dlcdhw_k70_lcdc.c -> LCDC_LDCR &= ~(LCDC_LDCR_BURST_MASK); // STOPS HERE !!
Any help/idea's are welcome!
Many thanks in advance
Regards,
Michris
解決済! 解決策の投稿を見る。
Here's a couple resources that might help.
This application note and software uses eGUI within MQX, but drives the TWR-LCD (through SPI or FlexBus) from a K60 (100MHz). It shows how eGUI can be integrated into a project and serviced from a task.
AN4346, Designing a Working Prototype using MQX ™ RTOS and Tower System for Kinetis Microcontrollers
This lab and software package uses PEG within MQX to drive TWR-LCD-RGB from a K70 (120/150MHz).
Build Your Own Embedded System (BYOES) – 2012 (exe)
Build Your Own Embedded System (BYOES) LABs - Prototyping Systems at ESC 2012
Best of luck,
Mac
Thanks, got it running.
Regards,
Michris