\n

CAN0

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0xC0 byte (0x0)
mem_usage : registers
protection :

Registers

CTRL0

CTRL1

SBITRATE

FBITRATE

ERRINFO

ACFCTRL

ACF

VERSION


CTRL0

Config state and transmit/receive control register 0
address_offset : 0xA0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CTRL0 CTRL0 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 BUSOFF TACTIVE RACTIVE TSSS TPSS LBMI LBME RESET TSA TSALL TSONE TPA TPE STBY LOM TBSEL TSSTAT TSMODE TSNEXT FDISO RSTAT RBALL RREL ROV ROM SACK

BUSOFF : BUS off status
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

The controller status is bus on

#1 : 1

The controller status is bus off

End of enumeration elements list.

TACTIVE : Transmission Active
bits : 1 - 1 (1 bit)
access : read-only

Enumeration:

#0 : 0

No transmit activity

#1 : 1

The controller is currently transmitting a frame

End of enumeration elements list.

RACTIVE : Reception Active
bits : 2 - 2 (1 bit)
access : read-only

Enumeration:

#0 : 0

No receive activity

#1 : 1

The controller is currently receiving a frame

End of enumeration elements list.

TSSS : Transmission Secondary single shot mode for STB
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

TPSS : Transmission Primary single shot mode for PTB
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

LBMI : Loop back mode internal
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

LBME : Loop back mode, external
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

RESET : reset request bit
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

#0 : 0

No local reset of CAN-CTRL

#1 : 1

The host controller performs a local reset of CAN-CTRL

End of enumeration elements list.

TSA : Transmit Secondary Abort
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

No abort

#1 : 1

Aborts a transmission from STB which has been requested but not started yet

End of enumeration elements list.

TSALL : Transmit Secondary All frames
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

No transmission for the STB

#1 : 1

Transmission enable of all messages in the STB

End of enumeration elements list.

TSONE : Transmit Secondary one Frame
bits : 10 - 10 (1 bit)
access : read-write

Enumeration:

#0 : 0

No transmission for the STB

#1 : 1

Transmission enable of one in the STB

End of enumeration elements list.

TPA : Transmit Primary Abort
bits : 11 - 11 (1 bit)
access : read-write

Enumeration:

#0 : 0

no abort

#1 : 1

Aborts a transmission from PTB which has been requested by TPE=1 but not started yet

End of enumeration elements list.

TPE : Transmit Primary Enable
bits : 12 - 12 (1 bit)
access : read-write

Enumeration:

#0 : 0

No transmission for the PTB

#1 : 1

Transmission enable for the message in the high-priority PTB

End of enumeration elements list.

STBY : Transceiver Standby mode
bits : 13 - 13 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

LOM : Listen Only mode
bits : 14 - 14 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

TBSEL : Transmit Buffer Select
bits : 15 - 15 (1 bit)
access : read-write

Enumeration:

#0 : 0

PTB (high-priority buffer)

#1 : 1

STB

End of enumeration elements list.

TSSTAT : Transmit Secondary status bits
bits : 16 - 17 (2 bit)
access : read-only

Enumeration:

#00 : 00

STB is empty

#01 : 01

STB is less than or equal to half full

#10 : 10

STB is more than half full

#01 : 11

STB is full

End of enumeration elements list.

TSMODE : Transmit buffer Secondary operation Mode
bits : 21 - 21 (1 bit)
access : read-write

Enumeration:

#0 : 0

FIFO mode

#1 : 1

priority decision mode

End of enumeration elements list.

TSNEXT : Transmit Buffer Secondary next
bits : 22 - 22 (1 bit)
access : read-write

Enumeration:

#0 : 0

No action

#1 : 1

STB slot filled, select next slot

End of enumeration elements list.

FDISO : FD ISO mode
bits : 23 - 23 (1 bit)
access : read-write

Enumeration:

#0 : 0

Bosch CAN FD (non-ISO) mode

#1 : 1

ISO CAN FD mode (ISO 11898-1:2015)

End of enumeration elements list.

RSTAT : Receive Buffer status bits
bits : 24 - 25 (2 bit)
access : read-only

Enumeration:

#00 : 00

empty

#01 : 01

less than empty and more than almost full (AFWL)

#10 : 10

almost full (programmable threshold by AFWL) but not full and no overflow

#01 : 11

full

End of enumeration elements list.

RBALL : Receive Buffer stores ALL data frames
bits : 27 - 27 (1 bit)
access : read-write

Enumeration:

#0 : 0

Normal operation

#1 : 1

RB stores correct data frames as well as data frames with error

End of enumeration elements list.

RREL : Receive Buffer Release
bits : 28 - 28 (1 bit)
access : read-write

Enumeration:

#0 : 0

No release

#1 : 1

Release: The host has read the RB

End of enumeration elements list.

ROV : Receive Buffer Overflow
bits : 29 - 29 (1 bit)
access : read-only

Enumeration:

#0 : 0

No Overflow

#1 : 1

Overflow. At least one message is lost

End of enumeration elements list.

ROM : Receive Buffer Overflow Mode
bits : 30 - 30 (1 bit)
access : read-write

Enumeration:

#0 : 0

The oldest message will be overwritten

#1 : 1

The new message will not be stored

End of enumeration elements list.

SACK : Self-Acknowledge when LBME = 1
bits : 31 - 31 (1 bit)
access : read-write

Enumeration:

#0 : 0

No self-ACK

#1 : 1

Self-ACK when LBME=1

End of enumeration elements list.


CTRL1

CAN interrupt enable/disable and flag control register 1
address_offset : 0xA4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

CTRL1 CTRL1 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 TSFF EIE TSIE TPIE RAFIE RFIE ROIE RIE AIF EIF TSIF TPIF RAFIF RFIF ROIF RIF BEIF BEIE ALIF ALIE EPIF EPIE EPASS EWARN EWL AFWL

TSFF : Transmit Secondary Buffer full flag
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

The STB is not filled with the maximal number of messages

#1 : 1

The STB is filled with the maximal number of messages

End of enumeration elements list.

EIE : Error Interrupt Enable
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

TSIE : Transmit Secondary Interrupt Enable
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

TPIE : Transmit Primary Interrupt Enable
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

RAFIE : RB Almost Full Interrupt Enable
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

RFIE : RB Full Interrupt Enable
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

ROIE : RB Overflow Interrupt enable
bits : 6 - 6 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

RIE : Receive Interrupt enable
bits : 7 - 7 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

AIF : Abort Interrupt Flag
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

No abort has been executed

#1 : 1

After setting TPA or TSA the appropriated message(s) have been aborted

End of enumeration elements list.

EIF : Error Interrupt Flag
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

There has been no change

#1 : 1

The border of the error warning limit has been crossed in either direction,or the BUSOFF bit has been changed in either direction

End of enumeration elements list.

TSIF : Transmission Secondary Interrupt Flag
bits : 10 - 10 (1 bit)
access : read-write

Enumeration:

#0 : 0

No transmission of the STB has been completed successfully

#1 : 1

The requested transmission of the STB has been successfully completed

End of enumeration elements list.

TPIF : Transmission Primary Interrupt Flag
bits : 11 - 11 (1 bit)
access : read-write

Enumeration:

#0 : 0

No transmission of the PTB has been completed

#1 : 1

The requested transmission of the PTB has been successfully completed

End of enumeration elements list.

RAFIF : RB Almost Full Interrupt flag
bits : 12 - 12 (1 bit)
access : read-write

Enumeration:

#0 : 0

number of filled RB slots more than or equal AFWL_i

#1 : 1

number of filled RB slots less than AFWL_i

End of enumeration elements list.

RFIF : RB Full Interrupt flag
bits : 13 - 13 (1 bit)
access : read-write

Enumeration:

#0 : 0

The RB FIFO is not ful

#1 : 1

All RBs are full. If no RB will be released until the next valid message is received,the oldest message will be lost

End of enumeration elements list.

ROIF : RB Overflow Interrupt flag
bits : 14 - 14 (1 bit)
access : read-write

Enumeration:

#0 : 0

No RB overwritten

#1 : 1

At least one received message has been overwritten in the RB

End of enumeration elements list.

RIF : Receive Interrupt flag
bits : 15 - 15 (1 bit)
access : read-write

Enumeration:

#0 : 0

No frame has been received

#1 : 1

Data or a remote frame has been received and is available in the receive buffer

End of enumeration elements list.

BEIF : Bus Error Interrupt flag
bits : 16 - 16 (1 bit)
access : read-write

BEIE : Bus Error Interrupt Enable
bits : 17 - 17 (1 bit)
access : read-write

ALIF : Arbitration Lost Interrupt Flag
bits : 18 - 18 (1 bit)
access : read-write

ALIE : Arbitration Lost Interrupt Enable
bits : 19 - 19 (1 bit)
access : read-write

EPIF : Error Passive Interrupt Flag
bits : 20 - 20 (1 bit)
access : read-write

EPIE : Error Passive Interrupt Enable
bits : 21 - 21 (1 bit)
access : read-write

EPASS : Error Passive Mode Active enable bit
bits : 22 - 22 (1 bit)
access : read-only

Enumeration:

#0 : 0

Not active (node is error active)

#1 : 1

Active (node is error active)

End of enumeration elements list.

EWARN : Error Warning Limit Reached
bits : 23 - 23 (1 bit)
access : read-only

Enumeration:

#0 : 0

The values in both counters are less than EWL

#1 : 1

One of the error counters RECNT or TECNT is equal or bigger than EWL

End of enumeration elements list.

EWL : Programmable Error Warnig Limit
bits : 24 - 27 (4 bit)
access : read-write

AFWL : Receive Buffer Almost Full Warning Limit
bits : 28 - 31 (4 bit)
access : read-write


SBITRATE

Normat CAN baudrate configuration register
address_offset : 0xA8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

SBITRATE SBITRATE 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 S_SEG_1 S_SEG_2 S_SJW S_PRESC

S_SEG_1 : Bit Timing Segment 1
bits : 0 - 7 (8 bit)
access : read-write

S_SEG_2 : Bit Timing Segment 2
bits : 8 - 14 (7 bit)
access : read-write

S_SJW : Synchronization Jump Width
bits : 16 - 22 (7 bit)
access : read-write

S_PRESC : Prescaler
bits : 24 - 31 (8 bit)
access : read-write


FBITRATE

FAST CAN(CAN_FD) baudrate configuration register
address_offset : 0xAC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

FBITRATE FBITRATE 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 f_SEG_1 f_SEG_2 f_SJW f_PRESC

f_SEG_1 : Bit Timing Segment 1
bits : 0 - 7 (8 bit)
access : read-write

f_SEG_2 : Bit Timing Segment 2
bits : 8 - 14 (7 bit)
access : read-write

f_SJW : Synchronization Jump Width
bits : 16 - 22 (7 bit)
access : read-write

f_PRESC : Prescaler
bits : 24 - 31 (8 bit)
access : read-write


ERRINFO

CAN error type and transmit/receive error conunter register
address_offset : 0xB0 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ERRINFO ERRINFO 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 ALC KOER SSPOFF TDCEN RECNT TECNT

ALC : Arbitration Lost Capture
bits : 0 - 4 (5 bit)
access : read-only

KOER : Kind of Error
bits : 5 - 7 (3 bit)
access : read-only

Enumeration:

#0000 : 0000

No error

#001 : 001

Bit error

#010 : 010

Form error

#011 : 011

Stuff error

#100 : 100

Acknowledge error

#101 : 101

CRC error

#1100 : 110

Other error

#111 : 111

Not used

End of enumeration elements list.

SSPOFF : Second Sample Point Offset
bits : 8 - 14 (7 bit)
access : read-write

TDCEN : Transmitter Delay Compensation Enable
bits : 15 - 15 (1 bit)
access : read-write

RECNT : Receive Error Count
bits : 16 - 23 (8 bit)
access : read-only

TECNT : Transmit Error Count
bits : 24 - 31 (8 bit)
access : read-only


ACFCTRL

Acceptance Filter Control Register
address_offset : 0xB4 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ACFCTRL ACFCTRL 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 ACFADR SELMASK TIMEEN TIMEPOS ACFEN

ACFADR : Acceptance filter address
bits : 0 - 3 (4 bit)
access : read-write

SELMASK : Select Acceptance MASK
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

Registers ACF_x point to acceptance code

#1 : 1

Registers ACF_x point to acceptance mask

End of enumeration elements list.

TIMEEN : TIME-stamping Enable
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

Disabled

#1 : 1

Enabled

End of enumeration elements list.

TIMEPOS : TIME-stamping Position
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

SOF

#1 : 1

EOF

End of enumeration elements list.

ACFEN : Acceptance Filter Enable
bits : 16 - 31 (16 bit)
access : read-write


ACF

Acceptance Code Register
address_offset : 0xB8 Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

ACF ACF 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 ACODE AIDE AIDEE

ACODE : Acceptance Code
bits : 0 - 28 (29 bit)
access : read-write

AIDE : Acceptance Mask IDE Bit value
bits : 29 - 29 (1 bit)
access : read-write

Enumeration:

#0 : 0

Acceptance filter accepts only extended frames

#1 : 1

Acceptance filter accepts only extended frames

End of enumeration elements list.

AIDEE : Acceptance Mask IDE bit check enable
bits : 30 - 30 (1 bit)
access : read-write

Enumeration:

#0 : 0

Acceptance filter accepts both standard or extended frames

#1 : 1

Acceptance filter accepts either standard or extended as defined by AIDE

End of enumeration elements list.


VERSION

Version Information Register 0
address_offset : 0xBC Bytes (0x0)
size : 32 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

VERSION VERSION 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 VERSION

VERSION : Version of CAN-CTRL
bits : 0 - 15 (16 bit)
access : read-only



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.