參數(shù)資料
型號(hào): CR16MCS9VJE8
英文描述: Microcontroller
中文描述: 微控制器
文件頁數(shù): 97/157頁
文件大小: 1256K
代理商: CR16MCS9VJE8
97
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.
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 99.
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 pro-
cess of every frame, regardless of the length, takes at least
17 CKI cycles (see also CPU Access to CR16CAN Regis-
ters/Memory on page 104). Figure 61 illustrates the receive
timing.
Receive Timing
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 ob-
ject 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. Table 21 sum-
marizes the current status and the resulting update from the
CR16CAN.
Table 21
Writing to Buffer Status Code During
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.
Buffer 0
Buffer 13
Buffer 14
BUFFER_ID
BUFFER_ID
BUFFER_ID
HIDDEN
RECEIVE
BUFFER
CR16CAN
Figure 60.
Receive Buffer Structure
SOF
1 BIT12/29 BIT+ 6 BIT
ARBITRATION FIELD
+ CONTROL
DATA FIELD
(IF PRESENT)
n * 8 BIT
CRC
FIELD
ACK
FIELD
2 BIT
EOF
7 BIT
16 BIT
IFS
3 BIT
BUS IDLE
copy to buffer
rx_start
Figure 61.
Receive Timing
BUSY
Current Status
Resulting Status
RX_READY
RX_FULL
RX_NOT_ACTIVE
RX_NOT_ACTIVE
RX_FULL
RX_OVERRUN
相關(guān)PDF資料
PDF描述
CR16MCS9VJE8Y Microcontroller
CR16MCT5VJE7Y Microcontroller
CR16HCS5VJE8 Microcontroller
CR16HCS9VJE7Y Microcontroller
CR16HCS9VJE8Y Microcontroller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
CR16MCS9VJE8/NOPB 功能描述:16位微控制器 - MCU RoHS:否 制造商:Texas Instruments 核心:RISC 處理器系列:MSP430FR572x 數(shù)據(jù)總線寬度:16 bit 最大時(shí)鐘頻率:24 MHz 程序存儲(chǔ)器大小:8 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:2 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:VQFN-40 安裝風(fēng)格:SMD/SMT
CR16MCS9VJE80 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Family of 16-bit CAN-enabled CompactRISC Microcontrollers
CR16MCS9VJE81 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Family of 16-bit CAN-enabled CompactRISC Microcontrollers
CR16MCS9VJE82 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Family of 16-bit CAN-enabled CompactRISC Microcontrollers
CR16MCS9VJE83 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Family of 16-bit CAN-enabled CompactRISC Microcontrollers