MKW30Z; SDK1.3; IAR 7.50; Framework Keyboard implement TSI buttons

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

MKW30Z; SDK1.3; IAR 7.50; Framework Keyboard implement TSI buttons

ソリューションへジャンプ
1,113件の閲覧回数
lucianfiran
Contributor V

KW40Z_Connectivity_Software_1.0.1 (KSDK_1.3.0)

 

Is there a way to use Keyboard libs from framework for TSI buttons, like sort long press, event management ?

ラベル(1)
タグ(3)
0 件の賞賛
返信
1 解決策
996件の閲覧回数
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Lucian Firan 

In Keyboard libs from framework there is not implementation for TSI, so you would have to add it. It is possible, since TSI SDK drivers can be added to your project, BUT TSI and GPIO drivers works very different and you would need to change drivers too much. In GPIO they configured pins to detect  FallingEdge interrupt, so they can get any change in the switch button, but in TSI you should add a timer that will constantly measure your electrode, and this is not the best way to do detect this events. So it is possible but it's not recommendable due to all the change that you would need to do.

Hope this information helps you
Have a great day,
Jorge Alcala

元の投稿で解決策を見る

1 返信
997件の閲覧回数
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Lucian Firan 

In Keyboard libs from framework there is not implementation for TSI, so you would have to add it. It is possible, since TSI SDK drivers can be added to your project, BUT TSI and GPIO drivers works very different and you would need to change drivers too much. In GPIO they configured pins to detect  FallingEdge interrupt, so they can get any change in the switch button, but in TSI you should add a timer that will constantly measure your electrode, and this is not the best way to do detect this events. So it is possible but it's not recommendable due to all the change that you would need to do.

Hope this information helps you
Have a great day,
Jorge Alcala