2018-07-29 04:59 AM
https://github.com/eleciawhite/STM32Cube/blob/master/STM32Cube_FW_F3_V1.3.0/Projects/STM32373C_EVAL/Examples/TSC/TSC_BasicAcquisition_Interrupt/Src/main.c what I don't understand are these definitions:
IoConfig.ChannelIOs = TSC_GROUP8_IO1;
IoConfig.SamplingIOs = (TSC_GROUP7_IO4 | TSC_GROUP8_IO4);
IoConfig.ShieldIOs = TSC_GROUP7_IO3;'
Any idea what are these? Shouldn't I just define the channels?
2018-07-29 05:18 AM
this is the manual I followed, AN4312
it all works well.
2018-07-29 05:23 AM
2018-07-29 05:25 AM
2018-08-02 10:20 AM
My problem now when I operate the code in the link , it stops at step #-6- "Check if the acquisition is correct (no max count) "
if (HAL_TSC_GroupGetStatus(&TscHandle, TSC_GROUP1_IDX) == TSC_GROUP_COMPLETED)
The above If condition is never true and thus the acquisition is never completed. Any idea what could be wrong?
2018-08-02 11:44 AM