Wath's correct FTMRH_FPROT for Kinetis KEAZN64

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Wath's correct FTMRH_FPROT for Kinetis KEAZN64

Jump to solution
861 Views
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

0 Kudos
Reply
1 Solution
706 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
2 Replies
706 Views
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 Kudos
Reply
707 Views
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 Kudos
Reply