|
MC33192 Datasheet, PDF (4/12 Pages) Motorola, Inc – MI-Bus Interface Stepper Motor Controller | |||
|
◁ |
Freescale SMeCm33i1c9o2nductor, Inc.
MIâBus Access Method
The information on the MIâBus is sent in a fixed message
frame format (See Figure 4). The system MCU can take
control of the MIâBus at any time with a start bit which
violates the law of Manchester BiâPhase code by having
three consecutive Time Slots (3ts) held constantly at a Logic
â0â state.
PushâPull Communication Sequence
Communication between the system MCU and slave
MC33192 devices always use the same message frame
organization. The MCU first sends eight serial data bits over
the MIâBus comprised of five control bits followed by three
address bits. This communication sequence is called a âPush
Fieldâ since it represents command information sent from the
MCU. The sequence of the five control data bits follow the
order D0, D1, D2, D3 and D4. The three address bits are sent
in sequential order A0, A1 and A2 defining a binary address
code. The condition of MIâBus during any of the control bit
time windows defines a specific control function as shown in
Figure 2. A âPull Syncâ bit is sent at the end of the Push Field,
the positive edge of which causes all data sent to the
selected device to be latched into the output circuit.
Figure 2. Push Field Data Bits
ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ Bit Name
Control Function
ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ D4 Inh2 Inhibits HâBridge 2
ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ D3 Dir2 Establishes Direction of HâBridge 2 Current
ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ D2 E
Energizes Bridge Coils 1 and 2
ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ D1 Dir1 Establishes Direction of HâBridge 1 Current
ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ D0 Inh1 InhibitsHâBridge1
After the Pull Sync bit is sent, following the Push Field, the
MCU listens on the MIâBus for serial data bits sent back from
the previously addressed MC33192 device. This portion of
the communication sequence starts the âPull Field Dataâ
since it represents information pulled from the addressed
MC33192 and received by the MCU.
The address selected MC33192 device sends data, in
the form of status bits, back to the MCU reporting the
devices condition. At the end of the Push Field the MCU
outputs a Pull Sync bit which signals the start of the Pull
Field. In the Pull Field are three bits (S2, S1 and S0) which
report the status of the previously addressed MC33192
according to Figure 3.
Figure 3. Pull Field Status Bits
ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ S2 S1 S0
Status
Comments
ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ 0 0 0 Notused
ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ 0 0 1 Free
ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ 0 1 0 No Back EMF Drivers and/or coils failed
ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ 0 1 1 Free
ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ 1 0 0 Normal/OK
ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ 1 0 1 Thermal
Chip temperature > 150°C
ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ 1 1 0 Programming PROM energized
ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ 1 1 1 Selection failed Noise on MIâBus, failed or
ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ disconnected module
The positive edge of the Pull Sync pulse (set by the MCU)
causes all Push Field Data sent to the selected MC33192 to
be stored in the output latch circuit in time with the strobe
pulse. This means the data bits are emitted in real time
synchronization with the MCUâs machine cycle. The strobe
pulse occurs only after the Push Field sequence is validated
by the address selected device.
Message Validation
The communication between the MCU and the selected
MC33192 device is valid only when the MCU reads
(receives) the Pull Field Data having the correct codes
(excluding the code â1â1â1â and â0â0â0â) followed by an
EndâofâFrame signal. The frequency of the EndâofâFrame
signal may be a subâmultiple of the selected devices local
oscillator or related to an internal or external analog
parameter using a Voltage to Frequency Converter.
Error Detection
An error is detected when the Pull Field contains the code
â1â1â1â followed by the EndâofâFrame permanently tied to a
logic â1â state (internally from 5.0 V through a pullâup
resistor). This means the communication between the MCU
and the selected device was not obtained.
Figure 4. MIâBus Timing Diagram
Frame
Push Field
Pull Field
Push Sync
Data
Address
Data EndâofâFrame
MIâBus Wire
3ts
3ts
1 23 45 67 89
1 2 34
Start â1â â0â D0 D1
75 µs
D2 D3 D4 A0 A1 A2 â0â â1â S2 S1 S0
NRZ
BiâPhase Coded
Pull Sync
Coded
475 µs
100 µs
Start
Oscillator
Frequency
÷ 32 = 20 kHz
Push/Pull Function
Strobe
4
Push
Pull
Strobe Pulse
MOTOROLA ANALOG IC DEVICE DATA
For More Information On This Product,
Go to: www.freescale.com
|
▷ |