![Freescale Semiconductor MPC5604B Quick Start Manual Download Page 83](http://html1.mh-extra.com/html/freescale-semiconductor/mpc5604b/mpc5604b_quick-start-manual_2330604083.webp)
4.
Driving smart-MOS switches MC33984 using SPI Driver
4.1.
Introduction to MC33984
This chip contains two ‘smart-MOS’ devices that can be used for switching high current
consuming loads. It also detects various electrical or thermal defects and can report them.
The figure above illustrates the internal block diagram of the chip. It possesses an SPI interface,
direct output control pins (IN0, IN1) and an analog current image output. The device has a few
registers that can be read or written to configure different aspects and check their status. The
outputs are high side switches; N-MOSFETs with an RDSon of 4mOhms.
In this example, we will develop a serial terminal interface for MPC5604B for commanding this
chip. It will have to initialise the device via SPI, then it can directly control its inputs via IN[0:1]
either as a continuous logic level or as a PWM signal. It can also read the status register from the
device and report faults via the terminal.
4.2.
Driver’s components
There are various ways to implement a driver for this chip, the one we will describe offer
various extension possibilities while being quite simple.
There are two GPIO pins of the MCU that should be used for RST and WAKE pins of the chip,
these allows resetting the chip and putting it in a useable mode.
Summary of Contents for MPC5604B
Page 1: ...LAAS CNRS Quick Start to MPC5604B Embedded Development Sahin Serdar 21 06 2013...
Page 31: ...Figure 33 INTC SW HW mode comparison Freescale Tutorial...
Page 87: ......
Page 132: ......
Page 133: ...127 Appendix 2 Pad Configurations...
Page 134: ......
Page 135: ......
Page 136: ......
Page 137: ......
Page 138: ......
Page 139: ......
Page 140: ......
Page 141: ...Appendix 3 Peripheral input pin selection...
Page 142: ......
Page 143: ...137 Appendix 4 Interrupt Vector Table...
Page 144: ......
Page 145: ......
Page 146: ......
Page 147: ......
Page 148: ...Appendix 5 I C Baud Rate Prescaler Values...
Page 149: ......
Page 150: ......