KL43Z support for sLCD and Touch sense using KDS3.0 +KSDK1.3.0 + Processor expert

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

KL43Z support for sLCD and Touch sense using KDS3.0 +KSDK1.3.0 + Processor expert

Jump to solution
2,116 Views
bheemarao
Contributor II

Hi,

 

I am trying to test Touch sense for KL43Z freedom board using KDS 3.0/KSDK1.3.0 is there any example implementation using Processor expert.

 

Best Regards

Bheema Rao

Labels (1)
0 Kudos
1 Solution
1,200 Views
ivadorazinova
NXP Employee
NXP Employee

Hi Bheema,

FRDM-KL43Z does not have TSI peripheral module. TSI electrodes are controlled by GPIO method in old TSS.

In new SW FSL Touch this device is not supported, for more details please see http://cache.freescale.com/files/32bit/doc/user_guide/FTUG.pdf

devices.png

For this case I created for you demo based on KSDK 1.3. PE in KDS 3.0. for SLCD component (without TSS).

Hope this helps.

Best Regards,

Iva

View solution in original post

0 Kudos
7 Replies
1,201 Views
ivadorazinova
NXP Employee
NXP Employee

Hi Bheema,

FRDM-KL43Z does not have TSI peripheral module. TSI electrodes are controlled by GPIO method in old TSS.

In new SW FSL Touch this device is not supported, for more details please see http://cache.freescale.com/files/32bit/doc/user_guide/FTUG.pdf

devices.png

For this case I created for you demo based on KSDK 1.3. PE in KDS 3.0. for SLCD component (without TSS).

Hope this helps.

Best Regards,

Iva

0 Kudos
1,200 Views
christopherira
Contributor III

Hi. I just loaded up your demo (thanks btw) and had a few questions. Is it necessary to initialize the lcd in the main.c, since the processer expert auto initializes? Also wondering if there is an easy way to do a sort of "printf" command? Thanks!

0 Kudos
1,200 Views
bheemarao
Contributor II

Hi Christopher,

Yes as PE auto initializes the SLCD module. i tried by removing below two lines (commented) and it worked fine with me.

But Backplane i.e com-0, com-1,com-2, com-3 has to be initialize in the code without which it does not work.

//  SLCD_DRV_Init(display1_IDX, &display1_InitConfig0);

// SLCD_DRV_SetAllPinsConfig(display1_IDX, &display1_PinsCfg);

// setting of Backplane connected to com0-com3

  SLCD_DRV_SetBackPlanePhase(display1_IDX, 59, kSLCDPhaseA);

  SLCD_DRV_SetBackPlanePhase(display1_IDX, 60, kSLCDPhaseB);

  SLCD_DRV_SetBackPlanePhase(display1_IDX, 14, kSLCDPhaseC);

  SLCD_DRV_SetBackPlanePhase(display1_IDX, 15, kSLCDPhaseD);

// starting the slcd function

  SLCD_DRV_Start(display1_IDX);

and regarding printf you have to add a fsl_debug_console module and use debug_printf().

I have enclosed the project for debug printf.

Note: you can refer to below link for display each segment lcd one-by-one created in element14 community:

Freescale Freedom development platform: Kinetis... | element14

Best Regards

Bheema Rao

1,200 Views
christopherira
Contributor III

That's very helpful, Thank you!

0 Kudos
1,200 Views
bheemarao
Contributor II

Hi Iva,

Thanks for the LCD demo using PE.

so to evaluate touch on KL43Z TSS3.1 library can be used? is there any examples using this?

Thanks and Regards

Bheema Rao

0 Kudos
1,200 Views
ivadorazinova
NXP Employee
NXP Employee

Hi Bheema,

you can take a look on examples located under C:\Freescale\Freescale_TSS_3_1\examples

But you should use CW (or IAR,Keil).

Hope this helps.

Best Regards,

Iva

0 Kudos
1,200 Views
ivadorazinova
NXP Employee
NXP Employee

Hi Bheema Rao,

we don´t have such example, so I will prepare the example for you.

Best Regards,

Iva

0 Kudos