English
Language : 

MC33192 Datasheet, PDF (8/12 Pages) Motorola, Inc – MI-Bus Interface Stepper Motor Controller
Freescale SMeCm33i1c9o2nductor, Inc.
MESSAGE CODING
Bi–Phase Coding and Detection
The Manchester Bi–Phase code shown in Figure 10
requires two time slots (2ts) to encode a single data bit. This
allows detection of a single error at the time slot level. The
logic levels “1” or “0” are determined by the organization of
the two time slots. These always have complementary logic
levels of either zero volts or plus five volts, which are
detected using an Exclusive OR detection circuit during the
Push Field sequence. A “1” bit is detected when the first time
slot is set to a zero logic state (0 V) followed by the second
time slot set to a logic state one (5.0 V). Conversely, a “0” bit
is detected when the first time slot is set to the logic state
“one” (5.0 V) followed by a second time slot set to a “zero”
logic state (0 V). For these two bits are Exclusive–ORs of
each other.
The addressed devices receiving the Push Field detect
the Bi–Phase code. Bi–Phase detection involves the
sampling of the Push Field Bi–Phase code twice (a and b) for
each time slot. A code error occurs when the two time slots of
the Bi–Phase do not follow a logical Exclusive–OR function
(see Figure 10).
Noise monitoring is accomplished by sampling the Push
Field Bi–Phase code twice (a and a’) and (b and b’) during
each time slot. A noise error is detected if the two sample
values do not have the same logical level.
Figure 10. Noise/Bi–Phase Detection
2 ts
ts
(Logic “0”)
ts
(Logic “1”)
5.0 V
Push Field
Bi–Phase
Coded Bits
t
01234567012345670
a
b
a
b
Bi–Phase
Detection
a’ a b’ b
a’ a
b’ b
Noise
Detection
Each message frame consists of two fields: The Push
Field, in which data and addresses are transferred by the
MCU to the slave device; and the Pull Field, in which serial
data is transferred back to the MCU from the address
selected slave device. The message frame is broken down
into seven individual field segments as indicated in Figure 4
(Start, Push Field Sync, Push Field Data, Push Field
Address, Pull Field Sync, Pull Field Data, and
End–of–Frame). The following lists the bit size and function
of each of these segments:
1) Start is the start of message and consists of three time
slots (3ts) having the dominant Logic “0” state of less than
0.3 V. Holding the MI–Bus at ground for three time slots (3ts)
marks the beginning of the message frame by violating the
law of the Manchester Code.
2) Push Field Sync is a single bit which establishes initial
timing for the Push Field Data to follow.
3) Push Field Data is comprised of five serial data bit
fields (D0, D1, D2, D3 and D4) which comprise the instruction
set defining the configuration and condition of the two
H–Bridge output stages.
4) Push Field Address is comprised of three serial data
bit fields (A0, A1 and A2) which define the address or name
of a MC33192 on the MI–Bus.
5) Pull Field Sync is a single bit which establishes the end
of the Push Field and the initial start timing for the Pull Field
Data to follow.
6) Pull Field Data is made up of three serial data bit fields
(S2, S1 and S0) which contain the existing status information
of an addressed MC33192.
7) End–of–Frame field is a signal which communicates
to the MCU that the status information sent by the MC33192
is complete.
The Push Field Sync bit, Push Field Data bits, Push Field
Address bits, Pull Field Sync bit are all coded by the
Manchester Bi–Phase L Code. The Pull Field Data bits are
Non–Return to Zero (NRZ) coded. The End–of Frame field is
a square wave signal with a frequency of 20 kHz or higher so
as to avoid a condition which causes a bus violation.
The Manchester Bi–Phase L code requires two time slots
(2ts) to encode a single bit. This allows a single error to be
detected during the time slot.
Address Programming involves the use of three
instructions. Refer to Figure10.
First Instruction Set the MI–Bus continuously at 12 V.
This places the MC33192 in the programming mode.
Programming is possible only when the MI–Bus is at 12 V.
Next, the MCU serially enters ”Logic Zeros” in all five Push
Field Data bit positions (D0, D1, D2, D3 and D4) followed by
the designated address value in the Push Field Address
positions (A0, A1, & A2).
The MCU now waits 275 µs before starting the second
instruction. The total of the Pull time, Delay time, and Bus
Violation time (V) of the second instruction (150 µs, 275 µs
and 75 µs respectively) will cause the memory cell to be
energized for 500 µs. During the first 150 µs of this time, the
MCU is checking the Pull Field Data Bits S2, S1 and S0
looking for the programming code “110” to indicate
complete activation of the memory cell.
Second Instruction (MI–Bus voltage remaining at 12 V)
The MCU repeats the same Push Field instruction as
previously sent in the First Instruction; entering all “Logic
Zeros” in the Push Field Data positions followed by the
designated Push Field Address value in the address
positions.
Again, the MCU waits for the Pull, Delay, and Bus violation
time while checking the Pull Field Data bits looking for the
programming code “110” code. The MCU must repeat the
initial Push Field Address instruction until a “110” code is
received before advancing to the Third Instruction.
Third Instruction The MI–Bus voltage is lowered to 5.0 V.
The MCU serially loads “Logic Zeros” in all five Push Field
Data bit positions followed by the programmed address in the
Push Field Address positions. The MCU then checks the Pull
Field Address status bits looking this time for the
8
MOTOROLA ANALOG IC DEVICE DATA
For More Information On This Product,
Go to: www.freescale.com