Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
When trying to use our board with a 32.768 kHz watch. ( 12 cap sense keys toggle operation)
The key sensing hangs up meaning some keys will be detected and other will notm Some keys stay continuously ON (detected). This happens when we touch different parts of the board including crystal etc and tracks. Agreed this is not how it should be operated but Same code running on internal osc works fine.
Also when the capsense keys are not beings sensed key operations using our remote work fine .
Meaning the main loop is running fine and only the cap sense part of the code of the keys goes for a toss.
We have tried the usual App note AN2027 for ECO and the technical ref manual but cannot find any thing to resolve our issue.
we need to use the crystal so we need a solid solution to get stable operation using the crystal
Another thing suggested in AN2027 is setting ECO_TR to a few values but somewhere in the Technical manual it says not to touch this register.
Again no clear direction on the crystals oscillator. Looking at the lst files cannot see the ECO_TR ( not even initialized)
Part of the code pasted below simple button functionality