\n

CAN

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x20 byte (0x0)
mem_usage : registers
protection : not protected

Registers

MOFCR

MODATAL

MODATAH

MOAR

MOCTR

MOSTAT

MOFGPR

MOIPR

MOAMR


MOFCR

Message Object Function Control Register
address_offset : 0x0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

MOFCR MOFCR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MMC GDFS IDC DLCC DATC RXIE TXIE OVIE FRREN RMM SDT STT DLC

MMC : Message Mode Control
bits : 0 - 2 (3 bit)
access : read-write

Enumeration:

#0000 : value1

Standard Message Object

#0001 : value2

Receive FIFO Base Object

#0010 : value3

Transmit FIFO Base Object

#0011 : value4

Transmit FIFO Slave Object

#0100 : value5

Gateway Source Object

End of enumeration elements list.

GDFS : Gateway Data Frame Send
bits : 8 - 7 (0 bit)
access : read-write

Enumeration:

#0 : value1

TXRQ is unchanged in the destination object.

#1 : value2

TXRQ is set in the gateway destination object after the internal transfer from the gateway source to the gateway destination object.

End of enumeration elements list.

IDC : Identifier Copy
bits : 9 - 8 (0 bit)
access : read-write

Enumeration:

#0 : value1

The identifier of the gateway source object is not copied.

#1 : value2

The identifier of the gateway source object (after storing the received frame in the source) is copied to the gateway destination object.

End of enumeration elements list.

DLCC : Data Length Code Copy
bits : 10 - 9 (0 bit)
access : read-write

Enumeration:

#0 : value1

Data length code is not copied.

#1 : value2

Data length code of the gateway source object (after storing the received frame in the source) is copied to the gateway destination object.

End of enumeration elements list.

DATC : Data Copy
bits : 11 - 10 (0 bit)
access : read-write

Enumeration:

#0 : value1

Data fields are not copied.

#1 : value2

Data fields in registers MODATALn and MODATAHn of the gateway source object (after storing the received frame in the source) are copied to the gateway destination.

End of enumeration elements list.

RXIE : Receive Interrupt Enable
bits : 16 - 15 (0 bit)
access : read-write

Enumeration:

#0 : value1

Message receive interrupt is disabled.

#1 : value2

Message receive interrupt is enabled.

End of enumeration elements list.

TXIE : Transmit Interrupt Enable
bits : 17 - 16 (0 bit)
access : read-write

Enumeration:

#0 : value1

Message transmit interrupt is disabled.

#1 : value2

Message transmit interrupt is enabled.

End of enumeration elements list.

OVIE : Overflow Interrupt Enable
bits : 18 - 17 (0 bit)
access : read-write

Enumeration:

#0 : value1

FIFO full interrupt is disabled.

#1 : value2

FIFO full interrupt is enabled.

End of enumeration elements list.

FRREN : Foreign Remote Request Enable
bits : 20 - 19 (0 bit)
access : read-write

Enumeration:

#0 : value1

TXRQ of message object n is set on reception of a matching Remote Frame.

#1 : value2

TXRQ of the message object referenced by the pointer CUR is set on reception of a matching Remote Frame.

End of enumeration elements list.

RMM : Transmit Object Remote Monitoring
bits : 21 - 20 (0 bit)
access : read-write

Enumeration:

#0 : value1

Remote monitoring is disabled: Identifier, IDE bit, and DLC of message object n remain unchanged upon the reception of a matching Remote Frame.

#1 : value2

Remote monitoring is enabled: Identifier, IDE bit, and DLC of a matching Remote Frame are copied to transmit object n in order to monitor incoming Remote Frames.

End of enumeration elements list.

SDT : Single Data Transfer
bits : 22 - 21 (0 bit)
access : read-write

STT : Single Transmit Trial
bits : 23 - 22 (0 bit)
access : read-write

DLC : Data Length Code
bits : 24 - 26 (3 bit)
access : read-write


MODATAL

Message Object Data Register Low
address_offset : 0x10 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

MODATAL MODATAL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DB0 DB1 DB2 DB3

DB0 : Data Byte 0 of Message Object n
bits : 0 - 6 (7 bit)
access : read-write

DB1 : Data Byte 1 of Message Object n
bits : 8 - 14 (7 bit)
access : read-write

DB2 : Data Byte 2 of Message Object n
bits : 16 - 22 (7 bit)
access : read-write

DB3 : Data Byte 3 of Message Object n
bits : 24 - 30 (7 bit)
access : read-write


MODATAH

Message Object Data Register High
address_offset : 0x14 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

MODATAH MODATAH read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DB4 DB5 DB6 DB7

DB4 : Data Byte 4 of Message Object n
bits : 0 - 6 (7 bit)
access : read-write

DB5 : Data Byte 5 of Message Object n
bits : 8 - 14 (7 bit)
access : read-write

DB6 : Data Byte 6 of Message Object n
bits : 16 - 22 (7 bit)
access : read-write

DB7 : Data Byte 7 of Message Object n
bits : 24 - 30 (7 bit)
access : read-write


MOAR

Message Object Arbitration Register
address_offset : 0x18 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

MOAR MOAR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ID IDE PRI

ID : CAN Identifier of Message Object n
bits : 0 - 27 (28 bit)
access : read-write

IDE : Identifier Extension Bit of Message Object n
bits : 29 - 28 (0 bit)
access : read-write

Enumeration:

#0 : value1

Message object n handles standard frames with 11-bit identifier.

#1 : value2

Message object n handles extended frames with 29-bit identifier.

End of enumeration elements list.

PRI : Priority Class
bits : 30 - 30 (1 bit)
access : read-write

Enumeration:

#00 : value1

Applicable only if TTCAN is available.

#01 : value2

Transmit acceptance filtering is based on the list order. This means that message object n is considered for transmission only if there is no other message object with valid transmit request (MSGVAL & TXEN0 & TXEN1 = 1) somewhere before this object in the list.

#10 : value3

Transmit acceptance filtering is based on the CAN identifier. This means, message object n is considered for transmission only if there is no other message object with higher priority identifier + IDE + DIR (with respect to CAN arbitration rules) somewhere in the list (see ).

#11 : value4

Transmit acceptance filtering is based on the list order (as PRI = 01B).

End of enumeration elements list.


MOCTR

Message Object Control Register
address_offset : 0x1C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

MOCTR MOCTR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RESRXPND RESTXPND RESRXUPD RESNEWDAT RESMSGLST RESMSGVAL RESRTSEL RESRXEN RESTXRQ RESTXEN0 RESTXEN1 RESDIR SETRXPND SETTXPND SETRXUPD SETNEWDAT SETMSGLST SETMSGVAL SETRTSEL SETRXEN SETTXRQ SETTXEN0 SETTXEN1 SETDIR

RESRXPND : Reset/Set Receive Pending
bits : 0 - -1 (0 bit)
access : write-only

RESTXPND : Reset/Set Transmit Pending
bits : 1 - 0 (0 bit)
access : write-only

RESRXUPD : Reset/Set Receive Updating
bits : 2 - 1 (0 bit)
access : write-only

RESNEWDAT : Reset/Set New Data
bits : 3 - 2 (0 bit)
access : write-only

RESMSGLST : Reset/Set Message Lost
bits : 4 - 3 (0 bit)
access : write-only

RESMSGVAL : Reset/Set Message Valid
bits : 5 - 4 (0 bit)
access : write-only

RESRTSEL : Reset/Set Receive/Transmit Selected
bits : 6 - 5 (0 bit)
access : write-only

RESRXEN : Reset/Set Receive Enable
bits : 7 - 6 (0 bit)
access : write-only

RESTXRQ : Reset/Set Transmit Request
bits : 8 - 7 (0 bit)
access : write-only

RESTXEN0 : Reset/Set Transmit Enable 0
bits : 9 - 8 (0 bit)
access : write-only

RESTXEN1 : Reset/Set Transmit Enable 1
bits : 10 - 9 (0 bit)
access : write-only

RESDIR : Reset/Set Message Direction
bits : 11 - 10 (0 bit)
access : write-only

SETRXPND : Reset/Set Receive Pending
bits : 16 - 15 (0 bit)
access : write-only

SETTXPND : Reset/Set Transmit Pending
bits : 17 - 16 (0 bit)
access : write-only

SETRXUPD : Reset/Set Receive Updating
bits : 18 - 17 (0 bit)
access : write-only

SETNEWDAT : Reset/Set New Data
bits : 19 - 18 (0 bit)
access : write-only

SETMSGLST : Reset/Set Message Lost
bits : 20 - 19 (0 bit)
access : write-only

SETMSGVAL : Reset/Set Message Valid
bits : 21 - 20 (0 bit)
access : write-only

SETRTSEL : Reset/Set Receive/Transmit Selected
bits : 22 - 21 (0 bit)
access : write-only

SETRXEN : Reset/Set Receive Enable
bits : 23 - 22 (0 bit)
access : write-only

SETTXRQ : Reset/Set Transmit Request
bits : 24 - 23 (0 bit)
access : write-only

SETTXEN0 : Reset/Set Transmit Enable 0
bits : 25 - 24 (0 bit)
access : write-only

SETTXEN1 : Reset/Set Transmit Enable 1
bits : 26 - 25 (0 bit)
access : write-only

SETDIR : Reset/Set Message Direction
bits : 27 - 26 (0 bit)
access : write-only


MOSTAT

Message Object Status Register
address_offset : 0x1C Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
alternate_register : MOCTR
reset_Mask : 0x0

MOSTAT MOSTAT read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RXPND TXPND RXUPD NEWDAT MSGLST MSGVAL RTSEL RXEN TXRQ TXEN0 TXEN1 DIR LIST PPREV PNEXT

RXPND : Receive Pending
bits : 0 - -1 (0 bit)
access : read-only

Enumeration:

#0 : value1

No CAN message has been received.

#1 : value2

A CAN message has been received by the message object n, either directly or via gateway copy action.

End of enumeration elements list.

TXPND : Transmit Pending
bits : 1 - 0 (0 bit)
access : read-only

Enumeration:

#0 : value1

No CAN message has been transmitted.

#1 : value2

A CAN message from message object n has been transmitted successfully over the CAN bus.

End of enumeration elements list.

RXUPD : Receive Updating
bits : 2 - 1 (0 bit)
access : read-only

Enumeration:

#0 : value1

No receive update ongoing.

#1 : value2

Message identifier, DLC, and data of the message object are currently updated.

End of enumeration elements list.

NEWDAT : New Data
bits : 3 - 2 (0 bit)
access : read-only

Enumeration:

#0 : value1

No update of the message object n since last flag reset.

#1 : value2

Message object n has been updated.

End of enumeration elements list.

MSGLST : Message Lost
bits : 4 - 3 (0 bit)
access : read-only

Enumeration:

#0 : value1

No CAN message is lost.

#1 : value2

A CAN message is lost because NEWDAT has become set again when it has already been set.

End of enumeration elements list.

MSGVAL : Message Valid
bits : 5 - 4 (0 bit)
access : read-only

Enumeration:

#0 : value1

Message object n is not valid.

#1 : value2

Message object n is valid.

End of enumeration elements list.

RTSEL : Receive/Transmit Selected
bits : 6 - 5 (0 bit)
access : read-only

Enumeration:

#0 : value1

Message object n is not selected for receive or transmit operation.

#1 : value2

Message object n is selected for receive or transmit operation.

End of enumeration elements list.

RXEN : Receive Enable
bits : 7 - 6 (0 bit)
access : read-only

Enumeration:

#0 : value1

Message object n is not enabled for frame reception.

#1 : value2

Message object n is enabled for frame reception.

End of enumeration elements list.

TXRQ : Transmit Request
bits : 8 - 7 (0 bit)
access : read-only

Enumeration:

#0 : value1

No transmission of message object n is requested.

#1 : value2

Transmission of message object n on the CAN bus is requested.

End of enumeration elements list.

TXEN0 : Transmit Enable 0
bits : 9 - 8 (0 bit)
access : read-only

Enumeration:

#0 : value1

Message object n is not enabled for frame transmission.

#1 : value2

Message object n is enabled for frame transmission.

End of enumeration elements list.

TXEN1 : Transmit Enable 1
bits : 10 - 9 (0 bit)
access : read-only

Enumeration:

#0 : value1

Message object n is not enabled for frame transmission.

#1 : value2

Message object n is enabled for frame transmission.

End of enumeration elements list.

DIR : Message Direction
bits : 11 - 10 (0 bit)
access : read-only

Enumeration:

#0 : value1

Receive Object selected: With TXRQ = 1, a Remote Frame with the identifier of message object n is scheduled for transmission. On reception of a Data Frame with matching identifier, the message is stored in message object n.

#1 : value2

Transmit Object selected: If TXRQ = 1, message object n is scheduled for transmission of a Data Frame. On reception of a Remote Frame with matching identifier, bit TXRQ is set.

End of enumeration elements list.

LIST : List Allocation
bits : 12 - 14 (3 bit)
access : read-only

PPREV : Pointer to Previous Message Object
bits : 16 - 22 (7 bit)
access : read-only

PNEXT : Pointer to Next Message Object
bits : 24 - 30 (7 bit)
access : read-only


MOFGPR

Message Object FIFO/Gateway Pointer Register
address_offset : 0x4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

MOFGPR MOFGPR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BOT TOP CUR SEL

BOT : Bottom Pointer
bits : 0 - 6 (7 bit)
access : read-write

TOP : Top Pointer
bits : 8 - 14 (7 bit)
access : read-write

CUR : Current Object Pointer
bits : 16 - 22 (7 bit)
access : read-write

SEL : Object Select Pointer
bits : 24 - 30 (7 bit)
access : read-write


MOIPR

Message Object Interrupt Pointer Register
address_offset : 0x8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

MOIPR MOIPR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RXINP TXINP MPN CFCVAL

RXINP : Receive Interrupt Node Pointer
bits : 0 - 1 (2 bit)
access : read-write

Enumeration:

#000 : value1

Interrupt output line INT_O0 is selected.

#001 : value2

Interrupt output line INT_O1 is selected.

#111 : value3

Interrupt output line INT_O7 is selected.

End of enumeration elements list.

TXINP : Transmit Interrupt Node Pointer
bits : 4 - 5 (2 bit)
access : read-write

Enumeration:

#000 : value1

Interrupt output line INT_O0 is selected.

#001 : value2

Interrupt output line INT_O1 is selected.

#111 : value3

Interrupt output line INT_O7 is selected.

End of enumeration elements list.

MPN : Message Pending Number
bits : 8 - 14 (7 bit)
access : read-write

CFCVAL : CAN Frame Counter Value
bits : 16 - 30 (15 bit)
access : read-write


MOAMR

Message Object Acceptance Mask Register
address_offset : 0xC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

MOAMR MOAMR read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 AM MIDE

AM : Acceptance Mask for Message Identifier
bits : 0 - 27 (28 bit)
access : read-write

MIDE : Acceptance Mask Bit for Message IDE Bit
bits : 29 - 28 (0 bit)
access : read-write

Enumeration:

#0 : value1

Message object n accepts the reception of both, standard and extended frames.

#1 : value2

Message object n receives frames only with matching IDE bit.

End of enumeration elements list.



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.