Using TSS_Library with MQX-Lite

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

Using TSS_Library with MQX-Lite

1,385 次查看
ViniciusHoff
Contributor II

Hi,

I am designing a MQX-Lite project with four touch button, using the TSS_Library. When

I use the TSS_Library in MQX project, no button is detected and TSS1_fCallBack0 is never called. If I use the TSS_Library, with same configuration, in bareboard project, the buttons work fine.

How I configure TSS_Library in MQX-Lite project?

Thanks.

标签 (1)
标记 (3)
0 项奖励
回复
6 回复数

1,030 次查看
ViniciusHoff
Contributor II

Hi,

What else should I do to fix this?

Vinícius Hoff

0 项奖励
回复

1,032 次查看
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Vinicius:

A time ago I created a MQX-Lite project with TSS Library and the touch slider was not working properly. What I did is to reduce the SysTick timer period to 500 us (Component MQXLite -> Inherited TimerUnit_LDD -> Counter restart -> Period).

I am not MQX expert, so I don't know all the implications of this change, but at least it worked for my application.

Regards!

Jorge Gonzalez

0 项奖励
回复

1,030 次查看
ViniciusHoff
Contributor II

Hi Jorge,

Thanks for the tip, but my touch keys are not working properly yet. I modified the period, but nothing changed.

When I use TSS Library with MQX-Lite project, the interrupt occurs always that I call TSS Task() and each bit of the Faults Register is setted: Charge Timeout, Small Capacitor, Data Corruption, Small Trigger Period and NoiseMode.

Regards,

Vinícius Hoff

0 项奖励
回复

1,030 次查看
ViniciusHoff
Contributor II

I am using only a task in the MQX-project, with one loop where I call TSS_Task().

0 项奖励
回复

1,030 次查看
soledad
NXP Employee
NXP Employee

Hi,

Please check the below threads and let me know if these help!!!

Unable to find TSS_Library Component

Configuring and Using K20 TSI with TSS_Library Component in a MQX application
Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,030 次查看
ViniciusHoff
Contributor II

Hi soledad,

I read the threads and I followed the tips, but the touch buttons don't work yet.

If I use the same program without the MQX-Lite, TSS Library works well. Could be because of the call time of the MQX task?

Have a great day,

Vinicius

0 项奖励
回复