Stepper Stall Detect (SSD)
MPC5606S Microcontroller Reference Manual, Rev. 7
1168
Freescale Semiconductor
For the correct movement of the SM the sine and cosine coil connections to VDDM and VDDS need to be
set properly, depending from the angular position. This is achieved by enabling and disabling of the pad
transistors T1 to T8. These pad transistors are not part of the SSD block, only the OBE (output buffer
enable) signals for the pads are provided. For the switch characteristics refer to
Aside from the pad transistors the switches S1 to S8 determine which coil provides the back EMF to the
integrator in which polarity w.r.t. the reference voltage. The switches are implemented in the analog block
of the SSD (denoted by shading them in the same manner like the analog block).
The
-modulator is enabled by setting the SDCPU bit in the CONTROL register. To compensate for
switching effects of the analog circuitry the user must take into account sufficient startup time, described
in
Section 36.5.1, Analog Block Startup Time
, prior to starting the BIS.
36.4.1.2
Analog W Port Control
This sub block controls the outputs to the coils and the inputs to the analog block. Refer to
for
details.
The most relevant bits of the CONTROL register belonging to that functional block are:
•
STEP bits: These 2 bit vector has two functions.
One function is to determine which coil is driven and which coil is connected to the
-modulator.
Additionally the direction of the current flow is selected with these bits. For clockwise direction of
the SM movement the value must be decremented and for counter-clockwise movement it must be
incremented when advancing from one STEP setting to the next.
•
BLNDCL: This bit is the enable of the supply voltage to be routed to the coil driven in the
appropriate STEP setting during the blanking phase of an ongoing BIS.
•
ITGDCL: This bit is the enable of the supply voltage to be routed to the coil driven in the
appropriate STEP setting during the integration phase of an ongoing BIS. Additionally it
determines the coil drive setting outside of any BIS.
•
ITGDIR: This bit is relevant only in the integration phase. Together with the STEP bits the polarity
of the integration is determined by enabling or disabling the appropriate analog switches. Refer to
Section 36.4.1.4.3, DC Offset Cancellation
These control bits are translated into the appropriate switching scheme of the pad transistors and the
-modulator switches described below. Note that it must be ensured at the device level that the SSD block
has exclusive control over the analog pads connected to the SM coils.
Additionally it is a precondition that the RTZE bit in the CONTROL register is set.
36.4.1.2.1
Transistor Condition States
The pad transistors T1 to T8 are responsible for connecting the SM coils to the analog supply voltages
VDDM and VDDS.
below shows the pad transistor condition states implemented in the
analog block. In the table the columns have the following meaning:
•
STEP denotes the setting of the corresponding bits in the CONTROL register.
•
ITGST reflects the status indicator of the BIS integration phase.
Содержание 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...