TWRPI-SLCD with K40D100 problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TWRPI-SLCD with K40D100 problem

683 Views
mehmetoksan
Contributor I


Hi;

I'm trying to run the TWRPI-SLCD()GD6363P) with the K40D100 tower module.

I want to show on the LCD digit 1 number 2.My LCD-Config code shown below;

LCD-CPSEL(1),LCD-LCDIEN(0),LCD-DUTY(3),LCD-LCLK(0),LCD-SOURCE(1),LCD-STOP(1),LCD-WAIT(1)

LCD--VSUPPLY(1),LCD_LADJ(3),LCD-HREFSEL(0),LCD-RVTRIM(4),LCD-RVEN(1)

LCD-BPENL=0x0000000F; LCD_PENL=0x0070F00F;
I use LCD_Pins WF0,WF1,WF2,WF3(BackPlane/COM-0,1,2,3) WF12,WF13,WF14,WF15,WF20,WF21,WF22(FrontPlane)

I tried the code below considering MK30DX64VLK7(LCD seven segment example description)

WF0=0x01;

WF1=0x02;

WF2=0x04;

WF3=0x08;

WF14=0x0B;

WF15=0x06;

WF14=SEGMENT(A,B,C,D)

WF15=SEGMENT(E,F,G,SYMBOL)

When  I not active  the WF3 ,WF14 and WF15 segment (D,SYMBL) is open.It should not be active.How can I show number 2 on the LCD digit 1 ?

0 Kudos
Reply
1 Reply

603 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi

Please refer attached example code, which using TWR-K40D100M board works with TWRPI-SLCD board.

The demo project is based on Kinetis 100MHz Rev 2 Example Projects <Hello_World> demo.


Wish it helps.

Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply