TSI - TWR-K40 tsi demo

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

TSI - TWR-K40 tsi demo

666 次查看
Fan_xy
Contributor III

Hello,

When run the demo of TSI on TWR-K40 cw 10.6, I have some confused .

1)  I have not touch the pad , When the project get here see below, the register of TSI0_GENCS == 0x0053c2d2 ; this mean the bit "OUTRGF" and"EOSF" all "1" ,  mean out of range ,

1.png

While when continue click run
button, it does not run to the file of out of rang, see the screen shot
below.  Why ?

2.png

2)  After write to “1” to the flag of “EOSF  ” and “OUTRGF to clear the bits  both of them still “1”,

Please try on your side, why ?

3.png

Thanks

Linda

0 项奖励
回复
2 回复数

550 次查看
vicentegomez
NXP TechSupport
NXP TechSupport

Hi Linda

Are you using the TWR-K40D100M? if this is the case the sample code is for the TWR-K40X256 that is rev 1 and the D100 is rev 2

There are some difference between the TSI module, you can check the application note AN4445 for more information.

I recommend that you create a new code using PE and the TSS library.

Please let me know if you need the sample code.


Have a great day,
Vicente

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

0 项奖励
回复

550 次查看
Fan_xy
Contributor III

HI,

Now , I only want test the demo code . not want use TSS lib.

I use TWR_K40X256, and I also check the   demo read me  "tsi,txt"  , it said the board is also TWR_K40X256.

Please test on your said , and check the status of the register .

Thank

Linda

0 项奖励
回复