CANFDx_CHx_ECR.REC & TEC - reset

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
tish_4721196
Level 1
Level 1

For Address 0x40520040 Register TRM says ECR. REC and TEC are read only for software. I want to understand how do ECR.REC

0 Likes
1 Solution
Nambi
Moderator
Moderator
Moderator
50 likes received 5 likes given 100 solutions authored

Yes. All these listed reset sources will reset the register.

View solution in original post

0 Likes
5 Replies
Nambi
Moderator
Moderator
Moderator
50 likes received 5 likes given 100 solutions authored

REC"Receive Error Counter" and TEC"Transmit Error Counter" are read-only for software. They are updated by the internal CAN-FD hardware IP.

0 Likes
lock attach
Attachments are accessible only for community members.

I understand from reading Register TRM that its only read only for software and Read/write by hardware.

What I want to know is what condition cause Hardware to write register to default?

0 Likes
Nambi
Moderator
Moderator
Moderator
50 likes received 5 likes given 100 solutions authored

All reset sources will reset this register to default value.

0 Likes
lock attach
Attachments are accessible only for community members.

Hello,

Please confirm that any one of below resets will cause REC & TEC to reset to default value.

Thank you

0 Likes
Nambi
Moderator
Moderator
Moderator
50 likes received 5 likes given 100 solutions authored

Yes. All these listed reset sources will reset the register.

0 Likes