How to create project for S9KEAZN32AMLC microcontroller in Codewarrior

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

How to create project for S9KEAZN32AMLC microcontroller in Codewarrior

Jump to solution
935 Views
rkavinash03
Contributor I

How to create project for S9KEAZN32AMLC microcontroller in codewarrior. ??

Labels (1)
0 Kudos
1 Solution
916 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi rkavinash03,

Sorry for the inconvenience we bring you!
This is a known issue of ProcessorExpert of CodeWarrior. You may select MKE02Z32xxx4 PEx cpu component. Or use KDS3.2 instead of CodeWarrior.

Note the trimming. The KEAZN32 and KE02Z32 devices ship from the factory with factory trim to 32MHz. To get the part operating at 40MHz requires the internal clock source ICS to have *user* trim (to 39.0625 kHz (upper limit)). Normally this user trim is written into flash at 0x0000_03FF/03FE and must be copied into the ICS_C3 register by the startup code. Simply setting the PEx CPU component ‘Slow internal reference clock [kHz]’ to 39.0625 does not make the clock 40MHz. 

Best Regards,
Robin
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
917 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi rkavinash03,

Sorry for the inconvenience we bring you!
This is a known issue of ProcessorExpert of CodeWarrior. You may select MKE02Z32xxx4 PEx cpu component. Or use KDS3.2 instead of CodeWarrior.

Note the trimming. The KEAZN32 and KE02Z32 devices ship from the factory with factory trim to 32MHz. To get the part operating at 40MHz requires the internal clock source ICS to have *user* trim (to 39.0625 kHz (upper limit)). Normally this user trim is written into flash at 0x0000_03FF/03FE and must be copied into the ICS_C3 register by the startup code. Simply setting the PEx CPU component ‘Slow internal reference clock [kHz]’ to 39.0625 does not make the clock 40MHz. 

Best Regards,
Robin
-------------------------------------------------------------------------------
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 Kudos