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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
3,485 次查看
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

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
2,569 次查看
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 项奖励
回复
7 回复数
2,570 次查看
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 项奖励
回复
2,569 次查看
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 项奖励
回复
2,569 次查看
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

2,569 次查看
christopherira
Contributor III

That's very helpful, Thank you!

0 项奖励
回复
2,569 次查看
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 项奖励
回复
2,569 次查看
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 项奖励
回复
2,569 次查看
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 项奖励
回复