EasyManua.ls Logo

NXP Semiconductors MPC5606S - Reset

NXP Semiconductors MPC5606S
1344 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Stepper Motor Controller (SMC)
MPC5606S Microcontroller Reference Manual, Rev. 7
Freescale Semiconductor 1155
NOTE
The short-circuit detection block does not disable a port in case of a
short-circuit. It is task of the microcontroller to manage the event of a
short-circuit.
35.5 Reset
The SMC is reset by system reset. All associated ports are released, all registers of the SMC module will
switch to their reset state as defined in Section 35.3.2, Register description.
35.6 Interrupts
The SMC has one interrupt output which is the bitwise OR function of 25 individual interrupt request
sources:
One time counter overflow interrupt: An interrupt will be requested when the MCCTL1[MCTOIE]
bit in is set and the running PWM frame is finished. The interrupt is cleared by either setting the
MCCTL1[MCTOIE] bit to 0 or to write a one to the MCCTL0[MCTOIF] bit
24 Interrupts for the short-circuit detection, one for each PWM pin: Whenever a short-circuit is
detected on one PWM pin and the short-circuit detector enable bit MCSDEn[SDEN[sd]] is set,
than the related interrupt flag MCSDIn[SDIF[sd]] is set according to the mapping shown
inTable 35-23. The interrupt flag in MCSDIn[SDIF[sd]] will also rise an external interrupt if the
interrupt enable bit MCSDIENn[SDIE[sd]] is set. To clear the interrupt flag, either write a one into
the related bit position MCSDIn[SDIF[sd]] or disable the related short-circuit detector by writing
zero to MCSDEn[SDEN[sd]]. If the short-circuit detector is enabled and a static short-circuit
exists, then the MCSDIn[SDIF[sd]] flag will be asserted directly after clearing it, because the
short-circuit detector is still enabled and will detect the short-circuit again. To avoid this behavior,
disable the short-circuit detector channel after detection of the short-circuit.

Table of Contents

Related product manuals