ADSP-BF537 Blackfin Processor Hardware Reference
9-33
CAN Module
Additionally, interrupts can occur for all of these levels by unmasking
them in the global interrupt mask register (
CAN_GIM
) shown
The interrupts include the bus off interrupt (
BOIM
), the error-passive inter-
rupt (
EPIM
), the error warning receive interrupt (
EWRIM
), and the error
warning transmit interrupt (
EWTIM
).
During the bus off recovery sequence, the configuration mode request bit
in the
CAN_CONTROL
register is set by the internal logic (
CCR
=
1
), thus the
CAN core module does not automatically come out of the bus off mode.
The
CCR
bit cannot be reset until the bus off recovery sequence is finished.
L
This behavior can be over-ridden by setting the auto-bus on (
ABO
)
bit in the
CAN_CONTROL
register. After exiting the bus off or configu-
ration modes, the CAN error counters are reset.
Debug and Test Modes
The CAN module contains test mode features that aid in the debugging of
the CAN software and system.
provides an example of
enabling CAN debug features.
L
When these features are used, the CAN module may not be com-
pliant to the CAN specification. All test modes should be enabled
or disabled only when the module is in configuration mode (
CCA
=
1 in the
CAN_STATUS
register) or in suspend mode (
CSA
=
1
in
CAN_STATUS
).
The
CDE
bit is used to gain access to all of the debug features. This bit
must be set to enable the test mode, and must be written first before sub-
sequent writes to the
CAN_DEBUG
register. When the
CDE
bit is cleared, all
debug features are disabled.
Summary of Contents for Blackfin ADSP-BF537
Page 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Page 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...