![NXP Semiconductors freescale KV4 Series Reference Manual Download Page 858](http://html1.mh-extra.com/html/nxp-semiconductors/freescale-kv4-series/freescale-kv4-series_reference-manual_1721789858.webp)
37.5.3.4 Reload Errors
Whenever one of the VALx, FRACVALx, or CTRL[PRSC] registers is updated, the
STS[RUF] flag is set to indicate that the data is not coherent. STS[RUF] will be cleared
by a successful reload which consists of the reload signal while MCTRL[LDOK] is set. If
STS[RUF] is set and MCTRL[LDOK] is clear when the reload signal occurs, a reload
error has taken place and STS[REF] is set. If STS[RUF] is clear when a reload signal
asserts, then the data is coherent and no error will be flagged.
37.5.3.5 Initialization
Initialize all registers and set MCTRL[LDOK] before setting MCTRL[RUN].
Note
Even if MCTRL[LDOK] is not set, setting MCTRL[RUN] also
sets the STS[RF] flag. To prevent a CPU interrupt request, clear
INTEN[RIE] before setting MCTRL[RUN].
The PWM generator uses the last values loaded if MCTRL[RUN] is cleared and then set
while MCTRL[LDOK] equals zero.
When MCTRL[RUN] is cleared:
• The STS[RF] flag and pending CPU interrupt requests are not cleared
• All fault circuitry remains active
• Software/external output control remains active
• Deadtime insertion continues during software/external output control
37.6 Resets
All PWM registers are reset to their default values upon any system reset.
The reset forces all registers to their reset states and tri-states the PWM outputs.
Resets
KV4x Reference Manual, Rev. 2, 02/2015
858
Preliminary
Freescale Semiconductor, Inc.
Summary of Contents for freescale KV4 Series
Page 2: ...KV4x Reference Manual Rev 2 02 2015 2 Preliminary Freescale Semiconductor Inc...
Page 60: ...KV4x Reference Manual Rev 2 02 2015 60 Preliminary Freescale Semiconductor Inc...
Page 128: ...Debug Security KV4x Reference Manual Rev 2 02 2015 128 Preliminary Freescale Semiconductor Inc...
Page 138: ...Boot KV4x Reference Manual Rev 2 02 2015 138 Preliminary Freescale Semiconductor Inc...
Page 1358: ...KV4x Reference Manual Rev 2 02 2015 1358 Preliminary Freescale Semiconductor Inc...