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 ,
While when continue click run
button, it does not run to the file of out of rang, see the screen shot
below. Why ?
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 ?
Thanks
Linda
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!
-----------------------------------------------------------------------------------------------------------------------
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