RM or SDK for the K20 Is it wrong?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

RM or SDK for the K20 Is it wrong?

912 次查看
pietrodicastri
Senior Contributor II

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

0 项奖励
回复
1 回复

873 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Pietro di Castri,

   Please help to confirm your chip part number at first: MK20DX256VLK10

 If yes, you need to refer to K20P81M100SF2V2RM.pdf

   pastedImage_2.png

just these register:

pastedImage_3.png

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.
-------------------------------------------------------------------------------

0 项奖励
回复