Wath's correct FTMRH_FPROT for Kinetis KEAZN64

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Wath's correct FTMRH_FPROT for Kinetis KEAZN64

ソリューションへジャンプ
787件の閲覧回数
fabrizioefm
Contributor I

this is the Kinetis KEA64 datasheet (Document number: S9KEA64Z64M20SF0RM). On this page there is clearly a compilation error: does anyone have one or more more up-to-date revision? Thank you

pastedImage_3.png

タグ(1)
0 件の賞賛
返信
1 解決策
632件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Fabrizio Ferrari,

    Thank you very much for your question, and tell us the doc bug.

    After check the KEAZN64 header file SKEAZN642.Hl

/* FPROT Bit Fields */
#define FTMRH_FPROT_FPLS_MASK                    0x3u
#define FTMRH_FPROT_FPLS_SHIFT                   0
#define FTMRH_FPROT_FPLS(x)                      (((uint8_t)(((uint8_t)(x))<<FTMRH_FPROT_FPLS_SHIFT))&FTMRH_FPROT_FPLS_MASK)
#define FTMRH_FPROT_FPLDIS_MASK                  0x4u
#define FTMRH_FPROT_FPLDIS_SHIFT                 2
#define FTMRH_FPROT_FPHS_MASK                    0x18u
#define FTMRH_FPROT_FPHS_SHIFT                   3
#define FTMRH_FPROT_FPHS(x)                      (((uint8_t)(((uint8_t)(x))<<FTMRH_FPROT_FPHS_SHIFT))&FTMRH_FPROT_FPHS_MASK)
#define FTMRH_FPROT_FPHDIS_MASK                  0x20u
#define FTMRH_FPROT_FPHDIS_SHIFT                 5
#define FTMRH_FPROT_RNV6_MASK                    0x40u
#define FTMRH_FPROT_RNV6_SHIFT                   6
#define FTMRH_FPROT_FPOPEN_MASK                  0x80u
#define FTMRH_FPROT_FPOPEN_SHIFT                 7

SO, the FPROT register should be the same as the KEA128:

pastedImage_4.png

About the KEA64 reference manual problem, I will report it to our according department, it will be updated in the next RM version.

Thank you again.

Have a great day,
Kerry

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
632件の閲覧回数
fabrizioefm
Contributor I

Through various documents found I was able to understand that it was similar to that of KEA128 and to be able to proceed with the project in the meantime, but I thank you very much for this post of confirmation. Greetings and thanks again

Fabrizio.

0 件の賞賛
返信
633件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Fabrizio Ferrari,

    Thank you very much for your question, and tell us the doc bug.

    After check the KEAZN64 header file SKEAZN642.Hl

/* FPROT Bit Fields */
#define FTMRH_FPROT_FPLS_MASK                    0x3u
#define FTMRH_FPROT_FPLS_SHIFT                   0
#define FTMRH_FPROT_FPLS(x)                      (((uint8_t)(((uint8_t)(x))<<FTMRH_FPROT_FPLS_SHIFT))&FTMRH_FPROT_FPLS_MASK)
#define FTMRH_FPROT_FPLDIS_MASK                  0x4u
#define FTMRH_FPROT_FPLDIS_SHIFT                 2
#define FTMRH_FPROT_FPHS_MASK                    0x18u
#define FTMRH_FPROT_FPHS_SHIFT                   3
#define FTMRH_FPROT_FPHS(x)                      (((uint8_t)(((uint8_t)(x))<<FTMRH_FPROT_FPHS_SHIFT))&FTMRH_FPROT_FPHS_MASK)
#define FTMRH_FPROT_FPHDIS_MASK                  0x20u
#define FTMRH_FPROT_FPHDIS_SHIFT                 5
#define FTMRH_FPROT_RNV6_MASK                    0x40u
#define FTMRH_FPROT_RNV6_SHIFT                   6
#define FTMRH_FPROT_FPOPEN_MASK                  0x80u
#define FTMRH_FPROT_FPOPEN_SHIFT                 7

SO, the FPROT register should be the same as the KEA128:

pastedImage_4.png

About the KEA64 reference manual problem, I will report it to our according department, it will be updated in the next RM version.

Thank you again.

Have a great day,
Kerry

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信