2000 Jan 04 19
Philips Semiconductors Product specification
Stand-alone CAN controller SJA1000
Fig.4 Example of the message storage within the RXFIFO.
Message 1 is now available in the receive buffer.
handbook, full pagewidth
MGK618
release
receive
buffer
command
64-byte
FIFO
incoming
messages
message 3
message 2
message 1
29
28
27
26
25
24
23
22
21
20
receive
buffer
window
CAN address
Identifier, remote transmission request bit and data length
code have the same meaning and location as described in
the transmit buffer but within the address range 20 to 29.
As illustrated in Fig.4 the RXFIFO has space for
64 message bytes in total. The number of messages that
can be stored in the FIFO at any particular moment
depends on the length of the individual messages. If there
is not enough space for a new message within the
RXFIFO, the CAN controller generates a data overrun
condition. A message which is partly written into the
RXFIFO, when the data overrun condition occurs, is
deleted. This situation is indicated to the microcontroller
via the status register and the data overrun interrupt, if
enabled and the frame was received without any errors
until the last but one bit of end of frame (RX message
becomes valid).
6.3.9 ACCEPTANCE FILTER
With the help of the acceptance filter the CAN controller is
able to allow passing of received messages to the RXFIFO
only when the identifier bits of the received message are
equal to the predefined ones within the acceptance filter
registers. The acceptance filter is defined by the
acceptance code register (ACR; see Section 6.3.9.1) and
the acceptance mask register (AMR; see Section 6.3.9.2).
2000 Jan 04 20
Philips Semiconductors Product specification
Stand-alone CAN controller SJA1000
6.3.9.1 Acceptance Code Register (ACR)
Table 8 ACR bit allocation; can address 4
BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
AC.7 AC.6 AC.5 AC.4 AC.3 AC.2 AC.1 AC.0
This register can be accessed (read/write), if the reset
request bit is set HIGH (present). When a message is
received which passes the acceptance test and there is
receive buffer space left, then the respective descriptor
and data field are sequentially stored in the RXFIFO.
When the complete message has been correctly received
the following occurs:
The receive status bit is set HIGH (full)
If the receive interrupt enable bit is set HIGH (enabled),
the receive interrupt is set HIGH (set).
The acceptance code bits (AC.7 to AC.0) and the eight
most significant bits of the message’s identifier
(ID.10 to ID.3) must be equal to those bit positions which
are marked relevant by the acceptance mask bits
(AM.7 to AM.0). If the conditions as described in the
following equation are fulfilled, acceptance is given:
(ID.10 to ID.3) (AC.7 to AC.0)] (AM.7 to AM.0)
11111111
6.3.9.2 Acceptance Mask Register (AMR)
Table 9 AMR bit allocation; CAN address 5
BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
AM.7 AM.6 AM.5 AM.4 AM.3 AM.2 AM.1 AM.0
This register can be accessed (read/write), if the reset
request bit is set HIGH (present). The acceptance mask
register qualifies which of the corresponding bits of the
acceptance code are ‘relevant’ (AM.X = 0) or ‘don’t care’
(AM.X = 1) for acceptance filtering.
6.3.9.3 Other registers
The other registers are described in Section 6.5.
6.4 PeliCAN mode
6.4.1 PELICAN ADDRESS LAYOUT
The CAN controller’s internal registers appear to the CPU
as on-chip memory mapped peripheral registers. Because
the CAN controller can operate in different modes
(operating/reset; see also Section 6.4.3), one has to
distinguish between different internal address definitions.
Starting from CAN address 32 the complete internal RAM
(80-byte) is mapped to the CPU interface.
2000 Jan 04 21
Philips Semiconductors Product specification
Stand-alone CAN controller SJA1000
Table 10 PeliCAN address allocation; note 1
CAN
ADDRESS
OPERATING MODE RESET MODE
READ WRITE READ WRITE
0 mode mode mode mode
1 (00H) command (00H) command
2 status status
3 interrupt interrupt
4 interrupt enable interrupt enable interrupt enable interrupt enable
5 reserved (00H) reserved (00H)
6 bus timing 0 bus timing 0 bus timing 0
7 bus timing 1 bus timing 1 bus timing 1
8 output control output control output control
9 test test; note 2 test test; note 2
10 reserved (00H) reserved (00H)
11 arbitration lost capture arbitration lost
capture
12 error code capture error code
capture
13 error warning limit error warning
limit
error warning
limit
14 RX error counter RX error counter RX error counter
15 TX error counter TX error counter TX error counter
16 RX frame
information
SFF; note 3
RX frame
information
EFF; note 4
TX frame
information
SFF; note 3
TX frame
information
EFF; note 4
acceptance
code 0
acceptance
code 0
17 RX identifier 1 RX identifier 1 TX identifier 1 TX identifier 1 acceptance
code 1
acceptance
code 1
18 RX identifier 2 RX identifier 2 TX identifier 2 TX identifier 2 acceptance
code 2
acceptance
code 2
19 RX data 1 RX identifier 3 TX data 1 TX identifier 3 acceptance
code 3
acceptance
code 3
20 RX data 2 RX identifier 4 TX data 2 TX identifier 4 acceptance
mask 0
acceptance
mask 0
21 RX data 3 RX data 1 TX data 3 TX data 1 acceptance
mask 1
acceptance
mask 1
22 RX data 4 RX data 2 TX data 4 TX data 2 acceptance
mask 2
acceptance
mask 2
23 RX data 5 RX data 3 TX data 5 TX data 3 acceptance
mask 3
acceptance
mask 3
24 RX data 6 RX data 4 TX data 6 TX data 4 reserved (00H)
25 RX data 7 RX data 5 TX data 7 TX data 5 reserved (00H)
26 RX data 8 RX data 6 TX data 8 TX data 6 reserved (00H)

SJA1000T/N1,112

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
CAN Interface IC STAND-ALONE CAN CONTROLLER
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet