ST72521 STMICROELECTRONICS [STMicroelectronics], ST72521 Datasheet - Page 139

no-image

ST72521

Manufacturer Part Number
ST72521
Description
8-BIT MCU WITH NESTED INTERRUPTS, FLASH, 10-BIT ADC, FIVE TIMERS, SPI, SCI, I2C, CAN INTERFACE
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST72521/MSE
Manufacturer:
ST
0
Part Number:
ST72521/SAK
Manufacturer:
ST
0
Part Number:
ST72521B/MMC
Manufacturer:
ST
0
Part Number:
ST72521B/MNO
Manufacturer:
ST
0
Part Number:
ST72521B/MXK
Manufacturer:
ST
0
Part Number:
ST72521BTC
Manufacturer:
ST
Quantity:
11 000
CONTROLLER AREA NETWORK (Cont’d)
IDENTIFIER LOW REGISTERS (IDLRx)
Read/Write
Reset Value: Undefined
ID[2:0] are the least significant 3 bits of the 11-bit
message identifier.
RTR is the Remote Transmission Request bit. It is
set to indicate a remote frame and reset to indicate
a data frame.
DLC[3:0] is the Data Length Code. It gives the
number of bytes in the data field of the mes-
sage.The valid range is 0 to 8.
DATA REGISTERS (DATA0-7x)
Read/Write
Reset Value: Undefined
DATA[7:0] is a message data byte. Up to eight such
bytes may be part of a message. Writing to byte
DATA7 initiates a transmit request and should al-
ways be done even when DATA7 is not part of the
message.
DATA
ID2
7
7
7
DATA
ID1
6
DATA
ID0
5
DATA
RTR
4
DATA
DLC3
3
DLC2
DATA
2
DLC1
DATA
1
DATA
DLC0
0
0
0
BUFFER CONTROL/STATUS REGs. (BCSRx)
Read/Write
Reset Value: 00h
Bit 3 = ACC Acceptance Code
Set by hardware with the id of the highest priority
filter which accepted the message stored in the
buffer.
ACC = 0: Match for Filter/Mask0. Possible match
for Filter/Mask1.
ACC = 1: No match for Filter/Mask0 and match for
Filter/Mask1.
Reset by hardware when either RDY or RXIF gets
reset.
Bit 2 = RDY Message Ready
Set by hardware to signal that a new error-free
message is available (LOCK = 0) or that a trans-
mission request is pending (LOCK = 1).
Cleared by software when LOCK = 0 to release
the buffer and to clear the corresponding RXIF bit
in the Interrupt Status Register.
Cleared by hardware when LOCK = 1 to indicate
that the transmission request has been serviced or
cancelled.
Bit 1 = BUSY Busy Buffer
Set by hardware when the buffer is being filled
(LOCK = 0) or emptied (LOCK = 1).
Reset by hardware when the buffer is not ac-
cessed by the CAN core for transmission nor re-
ception purposes.
Bit 0 = LOCK Lock Buffer
Set by software to lock a buffer. No more message
can be received into the buffer thus preserving its
content and making it available for transmission.
Cleared by software to make the buffer available
for reception. Cancels any pending transmission
request.
Cleared by hardware once a message has been
successfully transmitted provided the early trans-
mit interrupt mode is on. Left untouched otherwise.
Note that in order to prevent any message corrup-
tion or loss of context, LOCK cannot be set nor re-
set while BUSY is set. Trying to do so will result in
LOCK not changing state.
Read Only
Read/Clear
Read Only
Read/Set/Clear
7
0
0
0
0
ACC
RDY
BUSY LOCK
ST72521
139/211
0

Related parts for ST72521