CCTRL
Module Instance | Base Address | Register Address |
---|---|---|
can0 | 0xFFC00000 | 0xFFC00000 |
can1 | 0xFFC01000 | 0xFFC01000 |
Offset: 0x0
Access: RW
Bit Fields | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
Reserved |
DE2 RW 0x0 |
DE1 RW 0x0 |
MIL RW 0x0 |
Reserved |
|||||||||||
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Reserved |
Test RW 0x0 |
CCE RW 0x0 |
DAR RW 0x0 |
Reserved |
EIE RW 0x0 |
SIE RW 0x0 |
ILE RW 0x0 |
Init RW 0x1 |
CCTRL Fields
Bit | Name | Description | Access | Reset | ||||||
---|---|---|---|---|---|---|---|---|---|---|
19 | DE2 | DMA Enable for IF2
|
RW | 0x0 | ||||||
18 | DE1 | DMA Enable for IF1
|
RW | 0x0 | ||||||
17 | MIL | Message Object Interrupt Line Enable
|
RW | 0x0 | ||||||
7 | Test | Test Mode Enable
|
RW | 0x0 | ||||||
6 | CCE | Configuration Change Enable
|
RW | 0x0 | ||||||
5 | DAR | Disable Automatic Retransmission
|
RW | 0x0 | ||||||
3 | EIE | Error Interrupt Enable
|
RW | 0x0 | ||||||
2 | SIE | Status Interrupt Enable
|
RW | 0x0 | ||||||
1 | ILE | Module Interrupt Line Enable
|
RW | 0x0 | ||||||
0 | Init | Initialization Note: Due to the synchronization mechanism between the two clock domains, there may be a delay until the value written to CCTRL.Init can be read back. Therefore the programmer has to assure that the previous value written to CCTRL.Init has been accepted by reading CCTRL.Init before setting CCTRL.Init to a new value.\n Note: The Bus_Off recovery sequence (see CAN Specification Rev. 2.0) cannot be shortened by setting or resetting CCTRL.Init. If the device goes Bus_Off, it will set CCTRL.Init of its own accord, stopping all bus activities. Once CCTRL.Init has been cleared by the CPU, the device will then wait for 129 occurrences of Bus Idle (129 * 11 consecutive recessive bits) before resuming normal operations. At the end of the Bus_Off recovery sequence, the Error Management Counters will be reset. During the waiting time after the resetting of CCTRL.Init, each time a sequence of 11 recessive bits has been monitored, a Bit0Error code is written to the Status Register, enabling the CPU to readily check up whether the CAN bus is stuck at dominant or continuously disturbed and to monitor the proceeding of the us_Off recovery sequence.
|
RW | 0x1 |