AnsweredAssumed Answered

Please let me know what we should do to write values to MCG_C3/MCG_C4 registers.

Question asked by Shinsuke Tanaka on Dec 18, 2018
Latest reply on Dec 25, 2018 by Robin_Shen

Dear Sirs or Madams,

 

Please let me have a question regarding what we should do to write values to MCG_C3 and MCG_C4 registers.
Concretely speaking, I want to know what the following descriptions shown on K61P256M150SF3RM document mean;
  -A value for SCTRIM is loaded during reset from a factory programmed location.(for MCG_C3)
  -A value for FCTRIM is loaded during reset from a factory programmed location.(for MCG_C4)
  -A value for SCFTRIM is loaded during reset from a factory programmed location.(for MCG_C4)
I now guess that the above descriptions mean as follows;
   1) "factory programmed location" means memory or register addresses like 0x400*_****,
       which are different from  MCG_C3 and MCG_C4 addresses  4006_4002h/4006_4003h.
   2) In order to write intended values to MCG_C3 and MCG_C4 registers, we have to
      determine the appropriate values by ourselves and store the pre-determined values
      to "factory programmed location" in advance.
   3) During reset of K61, 32-bit MCU core inside K61 itsef
      executes read access to "factory programmed location" and then
      it writes the values acquired from "factory programmed location" to 4006_4002h/4006_4003h.

Are my above guesses correct?
If they are correct, please let me know the concrete address of "factory programmed location".
If they are incorrect, please let me know what "factory programmed location" actually means
and let me know what we should do to write intended values to  MCG_C3 and MCG_C4 registers.

 

Best regards,
Shinsuke Tanaka

Outcomes