Good morning
I refer to K20P100M72SF1RM.pdf.
There are two others K20 RM all of them have the same inconsistency it seems to me
The section
5.7.4 PORT digital filter clocking
is referring to the clock for the digital filter input.
The register PORTx_DFCR[CS] is referred.
The problem is no one of the K20 RM mention the DFCR register. It seems the DFCR and the DRWR are not in use in this processor.
I define in the project the macro CPU_MK20DX256VLK10.
This will include the files
MK20D10.h
and
MK20D10_features.h
This last has the macro
FSL_FEATURE_PORT_HAS_DIGITAL_FILTER
enabling the DFER, DFCR and DFWR
Something is not in order in the SDK. Please have a look.
Thank You
Pietro
Hi Pietro di Castri,
Please help to confirm your chip part number at first: MK20DX256VLK10
If yes, you need to refer to K20P81M100SF2V2RM.pdf
just these register:
So, please make sure your code matches your chip.
Wish it helps you!
If you still have questions about it, please kindly let me know.
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------