CR16MCS9VJE8 National Semiconductor, CR16MCS9VJE8 Datasheet - Page 98

16-Bit Microcontroller IC

CR16MCS9VJE8

Manufacturer Part Number
CR16MCS9VJE8
Description
16-Bit Microcontroller IC
Manufacturer
National Semiconductor
Datasheet

Specifications of CR16MCS9VJE8

Controller Family/series
CR16X
Core Size
16 Bit
Program Memory Size
64K X 8 Flash
Digital Ic Case Style
PQFP
No. Of Pins
80
Mounting Type
Surface Mount
Clock Frequency
25MHz
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CR16MCS9VJE8
Manufacturer:
ON
Quantity:
8 917
Part Number:
CR16MCS9VJE8-CBB
Manufacturer:
ON
Quantity:
846
Part Number:
CR16MCS9VJE8-CBC
Manufacturer:
ON
Quantity:
109
Part Number:
CR16MCS9VJE8-CBD
Manufacturer:
ON
Quantity:
17
Part Number:
CR16MCS9VJE8-CBE
Manufacturer:
ON
Quantity:
1 950
www.national.com
The received data frame will be stored in the first matching
receive buffer beginning with buffer 0. For example, if the
message is accepted by buffer 5, then at the time the mes-
sage will be copied, the RX request is cleared and CR16CAN
will not try to match the frame to any subsequent buffer.
In order to indicate that a frame is waiting in the hidden buffer,
the BUSY bit ST[0] of the selected buffer is set during the
copy procedure. The BUSY bit will be cleared by CR16CAN
right after the data bytes are copied into the buffer. After the
copy process is finished, CR16CAN changes the status field
to RX_FULL. In turn the CPU should change the status field
to RX_READY when the data is processed. When a new
message has been received by the same buffer, before the
CPU changed the status to RX_READY, the CR16CAN will
change the status to RX_OVERRUN to indicate that at least
one frame has been overwritten by a new one. Table21 sum-
CR16CAN
Figure 60. Receive Buffer Structure
BUS IDLE
BUSY
rx_start
HIDDEN
RECEIVE
BUFFER
1 BIT 12/29 BIT+ 6 BIT
SOF
ARBITRATION FIELD
+ CONTROL
BUFFER_ID
BUFFER_ID
BUFFER_ID
Buffer 13
Buffer 14
Buffer 0
Figure 61.
(IF PRESENT)
DATA FIELD
n * 8 BIT
98
Receive Timing
All contents of the hidden receive buffer are always copied
into the respective receive buffer. This includes the received
message ID as well as the received Data Length Code
(DLC); therefore when some mask bits are set to don’t care,
the ID field will get the received message ID which could be
different from the previous ID. The DLC of the receiving buff-
er will be updated by the DLC of the received frame. Note
that the DLC of the received message is not compared with
the DLC already present in the CNSTAT register of the mes-
sage buffer. This implies that the DLC code of the CNSTAT
register indicates how may data bytes actually belong to the
latest received message.
The remote frames are handled by the CR16CAN interface
in two different ways. Firstly, remote frames can be received
like data frames by configuring the buffer to be RX_READY
and setting the ID bits including the RTR bit. In that case the
same procedure applies as described for Data Frames. Sec-
ondly, a remote frame can trigger one or more message buff-
er to transmit a data frame upon reception. This procedure is
described under To answer Remote Frames on page 100.
20.5.1
As soon as CR16CAN receives a dominant bit on the CAN
bus, the receive process is started. The received ID and data
will be stored in the hidden receive buffer if the global or basic
acceptance filtering matches. After the reception of the data,
CR16CAN tries to match the buffer ID of buffer 0...14. The
data will be copied into the buffer after the reception of the 6th
EOF bit as a message is valid at this time. The copy process
of every frame, regardless of the length, takes at least 17 CKI
cycles (see also CPU Access to CR16CAN Registers/Mem-
ory on page 105). Figure61 illustrates the receive timing.
marizes the current status and the resulting update from the
CR16CAN.
Table 21
RX_BUSY
During the assertion of the BUSY bit, all writes to the receiv-
ing buffer are disabled with the exception of the status field.
RX_READY
RX_NOT_ACTIVE
RX_FULL
FIELD
16 BIT
Current Status
CRC
Receive Timing
Writing to Buffer Status Code During
FIELD
2 BIT
ACK
7 BIT
EOF
copy to buffer
RX_FULL
RX_NOT_ACTIVE
RX_OVERRUN
Resulting Status
3 BIT
IFS

Related parts for CR16MCS9VJE8