MK12DN512VLK5 - Contradictory flash clock divider requirements

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

MK12DN512VLK5 - Contradictory flash clock divider requirements

287 Views
tomscott
Contributor I

Reference Manual: K12P80M50SF4RM, Rev 4, Feb 2013

Page 134, Section 5.5: "The flash clock frequency must be programmed to 25 MHz or less and an integer
divide of the bus clock."

Page 233, Section 12.2.11 - System Clock Divider Register 1 (SIM_CLKDIV1):

OUTDIV4 - "The flash clock frequency must be an integer divide of the system clock frequency."

I would like to set the clocks up as follows:

48 MHz core/system

8 MHz bus

24 MHz flash

I can do this following the requirement on page 233, but not the requirement on page 134.

Which requirement is correct?

0 Kudos
1 Reply

244 Views
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Tom scott

Sorry for the misunderstanding description in the reference manual, the note in the page 134 should be like

The flash clock frequency must be programmed to 25 MHz or less, less than or equal to the bus clock, and an integer divide of the core clock.

So you cannot have

48 MHz core/system

8 MHz bus

24 MHz flash

Hope this information could help you.
Have a great day,
Jorge Alcala

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

0 Kudos