AMIS−30532
www.onsemi.com
19
voltages. If supply voltage is too low or external components
are not properly connected to guarantee R
DS(on)
of the
drivers, then the bit <CPFAIL> is set (Table 16). Also after
POR the charge pump voltage will need some time to exceed
the required threshold. During that time <CPFAIL> will be
set to “1”.
Error Output
This is a digital output to flag a problem to the external
microcontroller. The signal on this output is active low and
the logic combination of:
NOT(ERRB) = <TW> OR <TSD> OR <OVCXij> OR
<OVCYij> OR <OPENi> OR <CPFAIL>
Logic Supply Regulator
AMIS−30532 has an on−chip 5 V low−drop regulator
with external capacitor to supply the digital part of the chip,
some low−voltage analog blocks and external circuitry. The
voltage is derived from an internal bandgap reference. To
calculate the available drive−current for external circuitry,
the specified I
load
should be reduced with the consumption
of internal circuitry (unloaded outputs) and the loads
connected to logic outputs. See Table 5 DC Parameters.
Power−On Reset (POR) Function
The open drain output pin POR
/WD provides an “active
low” reset for external purposes. At power−up of
AMIS−30532, this pin will be kept low for some time to reset
for example an external microcontroller. A small analog
filter avoids resetting due to spikes or noise on the V
DD
supply.
t
PU
t
POR
t
RF
VBB
V
DDH
VDD
V
DDL
t
PD
<t
RF
t
t
POR/WD pin
Figure 16. Power−on−Reset Timing Diagram
Watchdog Function
The watchdog function is enabled/disabled through
<WDEN> bit (Table 13: SPI CONTROL REGISTERS (ALL
SPI control registers have Read/Write Access and default to
”0” after power−on or hard reset.)). Once this bit has been set
to “1” (watchdog enable), the microcontroller needs to
re−write this bit to clear an internal timer before the
watchdog timeout interval expires. In case the timer is
activated and WDEN is acknowledged too early (before
t
WDPR
) or not within the interval (after t
WDTO
), then a reset
of the microcontroller will occur through POR
/WD pin. In
addition, a warm/cold boot bit <WD> is available (see
Tables 16 and 17) for further processing when the external
microcontroller is alive again.
CLR Pin (=Hard Reset)
Logic 0 on CLR pin allows normal operation of the chip.
To reset the complete digital inside AMIS−30532, the input
CLR needs to be pulled to logic 1 during minimum time
given by t
CLR
. (Table 6 AC Parameters). This reset function
clears all internal registers without the need of a
power−cycle, except in sleep mode. The operation of all
analog circuits is depending on the reset state of the digital,
charge pump remains active. Logic 0 on CLR pin resumes
normal operation again.
The voltage regulator remains functional during and after
the reset and the POR
/WD pin is not activated. Watchdog
function is reset completely.
Sleep Mode
The bit <SLP> in SPI Control Register 2 (See Table 12)
is provided to enter a so−called “sleep mode”. This mode
allows reduction of current−consumption when the motor is
not in operation. The effect of sleep mode is as follows:
The drivers are put in HiZ
All analog circuits are disabled and in low−power mode
All internal registers are maintaining their logic content
NXT and DIR inputs are forbidden
SPI communication remains possible (slight current
increase during SPI communication)
Reset of chip is possible through CLR pin
AMIS−30532
www.onsemi.com
20
Oscillator and digital clocks are silent, except during
SPI communication
The voltage regulator remains active but with reduced
current−output capability (I
LOADSLP
). The watchdog timer
stops running and it’s value is kept in the counter. Upon
leaving sleep mode, this timer continues from the value it
had before entering sleep mode.
Normal operation is resumed after writing logic ‘0’ to bit
<SLP>. A start−up time is needed for the charge pump to
stabilize. After this time, NXT commands can be issued.
t
PU
POR/WD pin
t
POR
VBB
V
DDH
VDD
t
t
t
DSPI
Enable WD
Acknowledge WD
WD timer
t
POR
t
WDRD
= t
WDPR
or = t
WDTO
>t
WDPR
and < t
WDTO
t
t
t
WDTO
Figure 17. Watchdog Timing Diagram
Note: t
DSPI
is the time needed by the external microcontroller to shift−in the <WDEN> bit after a power−up.
The duration of the watchdog timeout interval is programmable through the WDT[3:0] bits (See also Table 13: SPI
CONTROL REGISTERS (ALL SPI control registers have Read/Write Access and default to “0” after power−on or hard reset.).
The timing is given in Table 12 below.
Table 12. WATCHDOG TIMEOUT INTERVAL AS FUNCTION OF WDT[3.0]
Index WDT[3:0] t
WDTO
(ms) Index WDT[3:0] t
WDTO
(ms)
0 0000 32 8 1000 288
1 0001 64 9 1001 320
2 0010 96 10 1010 352
3 0011 128 11 1011 384
4 0100 160 12 1100 416
5 0101 192 13 1101 448
6 0110 224 14 1110 480
7 0111 256 15 1111 512
AMIS−30532
www.onsemi.com
21
SPI INTERFACE
The serial peripheral interface (SPI) allows an external
microcontroller (Master) to communicate with
AMIS−30532. The implemented SPI block is designed to
interface directly with numerous micro−controllers from
several manufacturers. AMIS−30532 acts always as a Slave
and can’t initiate any transmission. The operation of the
device is configured and controlled by means of SPI
registers which are observable for read and/or write from the
Master.
SPI Transfer Format and Pin Signals
During a SPI transfer, data is simultaneously transmitted
(shifted out serially) and received (shifted in serially). A
serial clock line (CLK) synchronizes shifting and sampling
of the information on the two serial data lines (DO and DI).
DO signal is the output from the Slave (AMIS−30532), and
DI signal is the output from the Master. A chip select line
(CS
) allows individual selection of a Slave SPI device in a
multiple−slave system. The CS
line is active low. If
AMIS−30532 is not selected, DO is pulled up with the
external pull up resistor. Since AMIS−30532 operates as a
Slave in MODE 0 (CPOL = 0; CPHA = 0) it always clocks
data out on the falling edge and samples data in on rising
edge of clock. The Master SPI port must be configured in
MODE 0 too, to match this operation. The SPI clock idles
low between the transferred bytes.
The diagram below is both a Master and a Slave timing
diagram since CLK, DO and DI pins are directly connected
between the Master and the Slave.
Figure 18. Timing Diagram of an SPI Transfer
DI MSB
CLK
1 2 3 4 5 6 7 8
CS
DO
# CLK cycle
MSB
LSB
LSB
6
543
21
6
543
21
NOTE: At the falling edge of the eight clock pulse the data−out shift register is updated with the content of the addressed internal SPI
register. The internal SPI registers are updated at the first rising edge of the AMIS−30532 system clock when CS
= High
Transfer Packet
Serial data transfer is assumed to follow MSB first rule.
The transfer packet contains one or more 8−bit characters
(bytes).
LSB
DataCommand and SPI Register Address
CMD2 CMD1 CMD0 ADDR4 ADDR3 ADDR2 ADDR1 ADDR0 D7 D6 D5 D4 D3 D2 D1 D0
MSBLSBMSB
BYTE1 BYTE2
Command
SPI Register Address
Figure 19. SPI Transfer Packet
Byte 1 contains the Command and the SPI Register
Address and indicates to AMIS−30532 the chosen type of
operation and addressed register. Byte 2 contains data, or
sent from the Master in a WRITE operation, or received
from AMIS−30532 in a READ operation.

AMIS30532C5321G

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
Motor / Motion / Ignition Controllers & Drivers Stepper Motor Driver 32 Pins
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet