Stepper Motor Controller (SMC)
MPC5606S Microcontroller Reference Manual, Rev. 7
Freescale Semiconductor
1153
•
IF PWM
FB and the timer state is larger or equal
[TOUT], than
— One of the interrupt flags
[SDIF] is set in order
to flag a short-circuit.
— The interrupt flag is cleared by writing one, by reset or by disabling the short-circuit detector
— The timer is stopped and reloaded with the timeout value
[TOUT] in order to be
ready for the next transaction
•
If a short-circuit detector is disabled (
[SDEN[
sd
]] = 0), the related short-circuit detector
counter is halted and preloaded with the register value of
[TOUT]. The related bit in
[SDIF[
sd
]] of this specific short-circuit detector is set to 0. This means that, if all
short-circuit detectors are disabled, all bits of
stay at 0. No interrupt from the detector can
be generated independently of the interrupt mask in
•
In case of low-power modes, the state of the short-circuit detector is frozen. After exit of the
low-power mode, the short-circuit detector will resume operation from the previous state. If the
short-circuit detector should restart with defined state (counter value =
[TOUT], than the
related detector shall be disabled and enabled again. This will reload the counter with the
[TOUT] value and restart the short-circuit detector.
The maximum time span which the timer can cover depends on the clock frequency F of the main clock.
The maximum delay D covered by the counter is D =
[TOUT]* F. Due to sampling and
synchronization of the feedback signal, the value of
[TOUT] must always be larger than 2.
The two synchronizer stages imply also, that a a short-circuit with a duration of less than or equal to 2 clock
cycles cannot be detected.
Two special cases shall be highlighted:
•
Static short-circuit to ground and PWM signal = 1 see
: In this case, the enable of the
short-circuit detector starts the sampling process and the interrupt bit is set
[TOUT]+1
cycles after enabling the short-circuit detector
•
Static short-circuit to VDD and PWM signal = 0 see
: In this case. the enable of the
short-circuit detector starts the sampling process and the interrupt bit is set
[TOUT]+3
cycles after enabling the short-circuit detector due to the synchronizer which has been cleared
during disable of the short-circuit detector
Содержание MPC5602S
Страница 76: ...Overview MPC5606S Microcontroller Reference Manual Rev 7 74 Freescale Semiconductor...
Страница 82: ...Memory Map MPC5606S Microcontroller Reference Manual Rev 7 80 Freescale Semiconductor...
Страница 112: ...Signal Description MPC5606S Microcontroller Reference Manual Rev 7 110 Freescale Semiconductor...
Страница 166: ...Analog to Digital Converter ADC MPC5606S Microcontroller Reference Manual Rev 7 164 Freescale Semiconductor...
Страница 182: ...Boot Assist Module BAM MPC5606S Microcontroller Reference Manual Rev 7 180 Freescale Semiconductor...
Страница 234: ...Clock Description MPC5606S Microcontroller Reference Manual Rev 7 232 Freescale Semiconductor...
Страница 286: ...Crossbar Switch XBAR MPC5606S Microcontroller Reference Manual Rev 7 284 Freescale Semiconductor...
Страница 470: ...e200z0h Core MPC5606S Microcontroller Reference Manual Rev 7 468 Freescale Semiconductor...
Страница 524: ...Enhanced Direct Memory Access eDMA MPC5606S Microcontroller Reference Manual Rev 7 522 Freescale Semiconductor...
Страница 546: ...Error Correction Status Module ECSM MPC5606S Microcontroller Reference Manual Rev 7 544 Freescale Semiconductor...
Страница 669: ...Flash Memory MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 667...
Страница 670: ...Flash Memory MPC5606S Microcontroller Reference Manual Rev 7 668 Freescale Semiconductor...
Страница 716: ...FlexCAN MPC5606S Microcontroller Reference Manual Rev 7 714 Freescale Semiconductor...
Страница 882: ...LIN Controller LINFlex MPC5606S Microcontroller Reference Manual Rev 7 880 Freescale Semiconductor...
Страница 901: ...Memory Protection Unit MPU MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 899...
Страница 902: ...Memory Protection Unit MPU MPC5606S Microcontroller Reference Manual Rev 7 900 Freescale Semiconductor...
Страница 955: ...Mode Entry Module MC_ME MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 953...
Страница 956: ...Mode Entry Module MC_ME MPC5606S Microcontroller Reference Manual Rev 7 954 Freescale Semiconductor...
Страница 1072: ...Quad Serial Peripheral Interface QuadSPI MPC5606S Microcontroller Reference Manual Rev 7 1070 Freescale Semiconductor...
Страница 1096: ...Reset Generation Module MC_RGM MPC5606S Microcontroller Reference Manual Rev 7 1094 Freescale Semiconductor...
Страница 1106: ...Real Time Clock RTC API MPC5606S Microcontroller Reference Manual Rev 7 1104 Freescale Semiconductor...
Страница 1186: ...Stepper Stall Detect SSD MPC5606S Microcontroller Reference Manual Rev 7 1184 Freescale Semiconductor...
Страница 1213: ...System Integration Unit Lite SIUL MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 1211...
Страница 1214: ...System Integration Unit Lite SIUL MPC5606S Microcontroller Reference Manual Rev 7 1212 Freescale Semiconductor...
Страница 1238: ...Voltage Regulators and Power Supplies MPC5606S Microcontroller Reference Manual Rev 7 1236 Freescale Semiconductor...
Страница 1252: ...Wakeup Unit WKPU MPC5606S Microcontroller Reference Manual Rev 7 1250 Freescale Semiconductor...
Страница 1258: ...Registers Under Protection MPC5606S Microcontroller Reference Manual Rev 7 1256 Freescale Semiconductor...
Страница 1323: ...Register Map MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 1321...
Страница 1324: ...Register Map MPC5606S Microcontroller Reference Manual Rev 7 1322 Freescale Semiconductor...