I am trying to use the Match Continuous Mode to debounce a high-rate switch. But I can't seem to get the shift status or error flags to clear using the means mentioned in the KL33 reference manual, resulting in continuous interrupts. Any ideas?
Also, what is the exact meaning of DBGE? If set, does it mean that the FLEXIO will continue to run while the uP is paused in debug?
Hi MICHAEL HUSLIG,
About the Match continuous flag clear, you can find it from the reference manual:
About the DBGE, you also can find it from the reference manual:
It means even the debug is paused, the FLEXIO will still work.
Wish it help you!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you Kerry on the reply concerning DBGE. However, as originally stated, I have not been able to clear the FLEXIO shifter status flags using the methods in the reference manual.
Hi Michael HUSLIG,
The Shifter status flags is clear automatically after there has no longer a match between shifter data and SHIFBUF.
You can disable the DBGE, check the register, after the flag is set, then check the shiter data and the SHIFBUF, make sure there no match happens, then update the register, check the flag again, whether it is clear.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------