p87c591vfb NXP Semiconductors, p87c591vfb Datasheet - Page 85

no-image

p87c591vfb

Manufacturer Part Number
p87c591vfb
Description
Single-chip 8-bit Microcontroller With Can Controller
Manufacturer
NXP Semiconductors
Datasheet
Philips Semiconductors
15.2.13 T
S1STA is an 8-bit read-only special function register. The
three least significant bits are always zero. The five most
significant bits contain the status code. There are 26
possible status codes. When S1STA contains F8H, no
relevant state information is available and no serial
Table 57 Serial clock rate
Note
1. These frequencies exceed the upper limit of 100 kHz of the standard I
15.2.14 M
The four operating modes are:
Data transfers in each mode of operation are shown in
Figures 37 to 40. These figures contain the following
abbreviations:
2000 Jul 26
Master Transmitter
Master Receiver
Slave Receiver
Slave Transmitter
Abbreviation Explanation
S
SLA
R
W
A
A
Data
P
Single-chip 8-bit microcontroller with CAN controller
CR2
0
0
0
0
1
1
1
1
HE
ORE
CR1
S
0
0
1
1
0
0
1
1
TATUS
I
NFORMATION ON
Start condition
7-bit slave address
Read bit (high level at SDA)
Write bit (low level at SDA)
Acknowledge bit (low level at SDA)
Not acknowledge bit (high level at SDA)
8-bit data byte
Stop condition
R
EGISTER
CR0
0
1
0
1
0
1
0
1
, S1STA
SIO1 O
0.49 > 62.5
0 < 254
6 MHz
12.5
100
200
47
54
63
75
PERATING
BIT FREQUENCY (kHz) at f
M
0.65 < 55.6
ODES
0 < 253
8 MHz
133
267
62.5
83.3
100
71
17
(1)
(1)
85
interrupt is requested. All other S1STA values correspond
to defined SIO1 states. When each of these states is
entered, a serial interrupt is requested (SI = “1”). A valid
status code is present in S1STA one machine cycle after
SI is set by hardware and is still present one machine cycle
after SI has been reset by software.
In Figures 37 to 40, circles are used to indicate when the
serial interrupt flag is set. The numbers in the circles show
the status code held in the S1STA register. At these points,
a service routine must be executed to continue or
complete the serial transfer. These service routines are
not critical since the serial transfer is suspended until the
serial interrupt flag is cleared by software.
When a serial interrupt routine is entered, the status code
in S1STA is used to branch to the appropriate service
routine. For each status code, the required software action
and details of the following serial transfer are given in
Tables 61 to 65.
15.2.14.1 Master Transmitter Mode:
In the master transmitter mode, a number of data bytes are
transmitted to a slave receiver (see Figure 37). Before the
master transmitter mode can be entered, S1CON must be
initialized as in Table 58.
CR0, CR1, and CR2 define the serial bit rate. ENS1 must
be set to logic 1 to enable SIO1. If the AA bit is reset, SIO1
will not acknowledge its own slave address or the general
call address in the event of another device becoming
0.98 < 50.0
CLK
12 MHz
0 < 251
107
125
150
200
400
94
25
2
C-bus specification.
(1)
(1)
(1)
(1)
(1)
48 x (256 (reload value Timer 1))
Reload value Timer 1 in Mode 2.
f
CLK
Preliminary Specification
DIVIDED BY
128
112
480
96
80
60
30
P8xC591

Related parts for p87c591vfb