Other Parts Discussed in Thread: BOOSTXL-ULPSENSE
My customer who tries to use Capacitive Touch with SCE has some question about Procedures the Sensor Controller Studio has.
(Currently using LaunchPad + BOOSTXL-ULPSENSE)
Our assumption is that there is a difference in the value (source clock freq) obtained by tdcGetValue() between the following two cases, but is this correct?
Case 1: the tdcSetCntSource() is just set to 96M (not divided by tdcEnablePrescaler())
Case 2: If tdcSetCntSource() is set to 96M and tdcEnablePrescaler() is set to 16 divisions
2) How to drive tdcEnablePrescaler
It is recognized that #startTrigger in tdcSetTriggers() must be set to TDC_STARTTRIG_TDC_PRE and #stopTrigger to TDC_STOPTRIG_TDC_PRE if the prescaler is used.
However, when this value is set, the return value of tdcCheckDoneEv() is not done(1), and even if forced tdcGetValue() to get the value, valueL is only fixed at 2 (valueH is 0).
(The ignoredStopTriggerCount in tdcSetTriggers() was done with 0 and 1).
Could I have a sample code that can execute the tdcEnablePrescaler?
Thank you for your support.