User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 801
UG585 (v1.11) September 27, 2016
Appendix B: Register Details
Register (can) ECR
Register ECR Details
The ECR is a read-only register. Writes to the ECR have no effect. The value of the error counters in the
register reflect the values of the transmit and receive error counters in the CAN Protocol Engine Module
(see Figure 1).
The following conditions reset the Transmit and Receive Error counters:
* When '1' is written to the SRST bit in the SRR
* When '0' is written to the CEN bit in the SRR
* When the CAN controller enters Bus Off state
* During Bus Off recovery when the CAN controller enters Error Active state after 128 occurrences of 11
consecutive recessive bits
When in Bus Off recovery, the Receive Error counter is advanced by 1 when a sequence of 11 consecutive
recessive bits is seen.
Register (can) ESR
Name ECR
Relative Address 0x00000010
Absolute Address can0: 0xE0008010
can1: 0xE0009010
Width 32 bits
Access Type ro
Reset Value 0x00000000
Description Error Counter Register
Field Name Bits Type Reset Value Description
reserved 31:16 ro 0x0 Reserved
REC 15:8 ro 0x0 Receive Error Counter
Indicates the Value of the Receive Error Counter.
TEC 7:0 ro 0x0 Transmit Error Counter
Indicates the Value of the Transmit Error Counter.
Name ESR
Relative Address 0x00000014
Absolute Address can0: 0xE0008014
can1: 0xE0009014
Width 32 bits
Access Type mixed