I am trying to use digital filters on K22F micro.
When I try to write to the registers DFER/DFWR or DFCR nothing happens (the value is not saved and it looks like they are read only)
Clocks on PORTs are enabled.
The specific reference manual (K22P64M120SF5RM Rev. 3, April 2014) says that these registers are available for R/W . How can I enable digital filters on K22FN1M0 ?
Best wishes
Kuba
Hi Jakub,
After had a brief look through the K22P64M120SF5RM, I found that only the PORTD module support the digitial filter.
In the 5.7.4 PORT digital filter clocking section, you can find the digital filter in the PORTD module can be clocked as Fig 1 shows.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------