I was working on tsi tests for mke17z256vlh7 with iec60730b v4.4 and touch v2.9. Both modules TSI0 and TSI1 were used with 12 & 10 electrodes. Shields were not used. But I got incorrect results in registers while I call FS_TSI_InputCheckNONStimulated with correct parameters and correct calling sequence.
Did someone already work on these tests and face similar issue.
Please suggest me what can be the issue?
Thanks.
Hi,
Can you give more error information when you call FS_TSI_InputCheckNONStimulated?
BR
XiangJun Rong
The test sequence was following:
FS_TSI_InputInit(&gTestObj);
libResult = FS_TSI_InputCheckNONStimulated(&gTestObj, pTsi);
(Here libresult was 0x902 which is correct and desired.)
libResult = FS_TSI_InputCheckNONStimulated(&gTestObj, pTsi);
(now libResult was 0x901 which means failed and it was due to TSICNT value = 0xFFFF.)
Now the issue is why TSICNT was set to 0xFFFF which caused the test failed. What can be the wrong which caused the TSICNT value to reach 0xFFFF rather it should be around 0x8000 for my hw.