
MC33298
10
MOTOROLA ANALOG IC DEVICE DATA
One main advantage of the MC33298 is the serial port
which when coupled to an MCU, receives “on”/“off”
commands from the MCU and in return transmits the drain
status of the device’s output switches. Many devices can be
“daisy–chained” together to form a larger system (see
Figure 12). Note in this example that only one dedicated
MCU parallel port (aside from the required SPI) is needed for
chip select to control 32 possible loads.
Multiple MC33298 devices can also be controlled in a
parallel input fashion using SPI (see Figure 13). This figure
shows a possible 24 loads being controlled by only three
dedicated parallel MCU ports used for chip select.
Figure 13. Parallel Input SPI Control
SI
CSB
SCLK
8 Outputs
SI
CSB
SCLK
8 Outputs
SI
CSB
SCLK
MC33298
8 Outputs
Parallel
Ports
SCLK
MOSI
MC68XX
Microconttoller
SPI
MC33298
MC33298
A0
A1
A2
Figure 14 shows a basic method of controlling multiple
MC33298 devices using two MCUs. A system can have only
one master MCU at any given instant of time and one or more
slave MCUs. The master MCU supplies the system clock
signal (top MCU designated the master); the lower MCU
being the slave. It is possible to have a system with more
than one master but not at the same time. Only when the
master is not communicating can a slave communicate. MCU
master control is switched through the use of the slave select
(SS) pin of the MCUs. A master will become a slave when it
detects a logic low state on its SS pin.
These basic examples make the MC33298 very attractive
for applications where a large number of loads need be
controlled efficiently. The popular Synchronous Serial
Peripheral Interface (SPI) protocol is incorporated, to this
end, to communicate efficiently with the MCU.
SPI System Attributes
The SPI system is flexible enough to communicate directly
with numerous standard peripherals and MCUs available
from Motorola and other semiconductor manufacturers. SPI
reduces the number of pins necessary for input/output (I/O)
on the MC33298. It also offers an easy means of expanding
the I/O function using few MCU pins. The SPI system of
communication consists of the MCU transmitting, and in
return, receiving one databit of information per clock cycle.
Databits of information are simultaneously transmitted by
one pin, Microcontroller Out Serial In (MOSI), and received
by another pin, Microcontroller In Serial Out (MISO), of
the MCU.
Some features of SPI are:
Full Duplex, Three–Wire Synchronous Data Transfer
Each Microcontroller can be a Master or a Slave
Provides Write Collision Flag Protection
Provides End of Message Interrupt Flag
Four I/Os associated with SPI (MOSI, MISO, SCLK, SS)
The only drawbacks to SPI are that an MCU is required for
efficient operational control and, in contrast to parallel input
control, is slower at performing pulse width modulating
(PWM) functions.
Figure 14. Multiple MCU SPI Control
8–Bit
MC33298
CSB
SCLK
SO
SI
8 Outputs
8–Bit
CSB
SCLK
SO
SI
8 Outputs
MC33298
8–Bit
MC33298
CSB
SCLK
SO
SI
8 Outputs
SS
8–Bit
MC68XX
Microcontroller
SPI
(Master)
MOSI
MISO
Parallel
Ports
SCLK
A0
A1
A2
B0
B1
VDD
SS
8–Bit
MC68XX
Microcontroller
SPI
(Alternate
Master)
MOSI
MISO
Parallel
Ports
SCLK
A0
A1
A2
B0
B1
VDD