p87c591vfb NXP Semiconductors, p87c591vfb Datasheet - Page 82

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.1 ENS1, the SIO1 enable bit
ENS1 = “0”: When ENS1 is “0”, the SDA and SCL input
signals are ignored, SIO1 is in the not addressed slave
state, and the STO bit in S1CON is forced to 0. No other
bits are affected.
ENS1 = “1”: When ENS1 is 1, I
P1.6 and P1.7 have to set to Open Drain by writing the Port
mode registers P1M1.x and P1M2.x bits 6 and 7 with a 1
(see Section 6.2 “Pin description”).
ENS1 should not be used to temporarily release SIO1 from
the I
is lost. The AA flag should be used instead (see
description of the AA flag in the following text).
In the following text, it is assumed that ENS1 = 1.
15.2.12.2 STA, the START flag
STA = “1”: When the STA bit is set to enter a master mode,
the SIO1 hardware checks the status of the I
generates a START condition if the bus is free. If the bus
is not free, then SIO1 waits for a STOP condition (which
will free the bus) and generates a START condition after a
delay of a half clock period of the internal serial clock
generator.
If STA is set while SIO1 is already in a master mode and
one or more bytes are transmitted or received, SIO1
transmits a repeated START condition. STA may be set at
any time. STA may also be set when SIO1 is an addressed
slave.
STA = “0”: When the STA bit is reset, no START condition
or repeated START condition will be generated.
2000 Jul 26
Single-chip 8-bit microcontroller with CAN controller
2
C bus since, when ENS1 is reset, the I
2
C is enabled. Note, that
2
C bus status
2
C bus and
82
15.2.12.3 STO, the STOP Flag
STO = “1”: When the STO bit is set while SIO1 is in a
master mode, a STOP condition is transmitted to the I
bus. When the STOP condition is detected on the bus, the
SIO1 hardware clears the STO flag. In a slave mode, the
STO flag may be set to recover from an error condition. In
this case, no STOP condition is transmitted to the I
However, the SIO1 hardware behaves as if a STOP
condition has been received and switches to the defined
not addressed slave receiver mode. The STO flag is
automatically cleared by hardware.
If the STA and STO bits are both set, the a STOP condition
is transmitted to the I
a slave mode, SIO1 generates an internal STOP condition
which is not transmitted). SIO1 then transmits a START
condition.
STO = “0”: When the STO bit is reset, no STOP condition
will be generated.
2
C bus if SIO1 is in a master mode (in
Preliminary Specification
P8xC591
2
C bus.
2
C

Related parts for p87c591vfb