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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
36,237件の閲覧回数
michris
Contributor III

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


1 解決策
30,384件の閲覧回数
macl
Senior Contributor I

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

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)  Favorite

Build Your Own Embedded System (BYOES) LABs - Prototyping Systems at ESC 2012

Best of luck,

Mac

元の投稿で解決策を見る

21 返答(返信)
239件の閲覧回数
michris
Contributor III

Thanks, got it running.

Regards,

Michris

0 件の賞賛
返信