p87c591vfb NXP Semiconductors, p87c591vfb Datasheet - Page 84

no-image

p87c591vfb

Manufacturer Part Number
p87c591vfb
Description
Single-chip 8-bit Microcontroller With Can Controller
Manufacturer
NXP Semiconductors
Datasheet
Philips Semiconductors
15.2.12.4 SI, the Serial Interrupt Flag
SI = “1”: When the SI flag is set, then, if the EA and ES1
(interrupt enable register) bits are also set, a serial
interrupt is requested. SI is set by hardware when one of
25 of the 26 possible SIO1 states is entered. The only state
that does not cause SI to be set is state F8H, which
indicates that no relevant state information is available.
While SI is set, the low period of the serial clock on the SCL
line is stretched, and the serial transfer is suspended. A
high level on the SCL line is unaffected by the serial
interrupt flag. SI must be reset by software.
SI = 0: When the SI flag is reset, no serial interrupt is
requested, and there is no stretching of the serial clock on
the SCL line.
15.2.12.5 AA, the Assert Acknowledge flag
AA = “1”: If the AA flag is set, an acknowledge (low level to
SDA) will be returned during the acknowledge clock pulse
on the SCL line when:
AA = “0”: if the AA flag is reset, a not acknowledge (high
level to SDA) will be returned during the acknowledge
clock pulse on SCL when:
When SIO1 is in the addressed slave transmitter mode,
state C8H will be entered after the last serial is transmitted
(see Figure 40). When SI is cleared, SIO1 leaves state
C8H, enters the not addressed slave receiver mode, and
the SDA line remains at a high level. In state C8H, the AA
flag can be set again for future address recognition.
2000 Jul 26
The “own slave address” has been received
The general call address has been received while the
general call bit (GC) in S1ADR is set
A data byte has been received while SIO1 is in the
master receiver mode
A data byte has been received while SIO1 is in the
addressed slave receiver mode
A data has been received while SIO1 is in the master
receiver mode
A data byte has been received while SIO1 is in the
addressed slave receiver mode
Single-chip 8-bit microcontroller with CAN controller
84
When SIO1 is in the not addressed slave mode, its own
slave address and the general call address are ignored.
Consequently, no acknowledge is returned, and a serial
interrupt is not requested. Thus, SIO1 can be temporarily
released from the I
monitored. While SIO1 is released from the bus, START
and STOP conditions are detected, and serial data is
shifted in. Address recognition can be resumed at any time
by setting the AA flag. If the AA flag is set when the parts
own slave address or the general call address has been
partly received, the address will be recognized at the end
of the byte transmission.
15.2.12.6 CR0, CR1, and CR2, the Clock Rate Bits
These three bits determine the serial clock frequency
when SIO1 is in a master mode. The various serial rates
are shown in Table 57.
A 12.5 kHz bit rate may be used by devices that interface
to the I
software driven and slow. 100kHz is usually the maximum
bit rate and can be derived from a 16 MHz, 12 MHz, or a
6 MHz oscillator. A variable bit rate (0.5 kHz to 62.5 kHz)
may also be used if Timer 1 is not required for any other
purpose while SIO1 is in a master mode.
The frequencies shown in Table 57 are unimportant when
SIO1 is in a slave mode. In the slave modes, SIO1 will
automatically synchronize with any clock frequency up to
100 kHz.
2
C bus via standard I/O port lines which are
2
C bus while the bus status is
Preliminary Specification
P8xC591

Related parts for p87c591vfb