Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

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

cross mob
Rhohentanner
Level 1
Level 1
5 sign-ins First reply posted First question asked

Hi, I'm using a XMC4108 processor and want to generate an interrupt when I receive CAN RTR frames. I have this working, but for some reason I need to constantly set the DIR bit of the CAN receive Object or it will reset on its own almost immediately after setting it. I am using CAN_NODE_MO_ClearStatus(HandlePtr1->lmobj_ptr[2], XMC_CAN_MO_SET_STATUS_RX_ENABLE | XMC_CAN_MO_SET_STATUS_MESSAGE_DIRECTION); to set the DIR pin, am I doing that correctly or is there a better more correct way of doing it so I don't to make the call over and over?

 

Thanks, Rob

0 Likes
1 Solution
sujatapatil
Moderator
Moderator
Moderator
250 replies posted 50 solutions authored 10 likes received

Hi Rob,

It looks good as for each Transmit request DIR bit will be confirmed.

Thanks

Sujata

View solution in original post

0 Likes
1 Reply
sujatapatil
Moderator
Moderator
Moderator
250 replies posted 50 solutions authored 10 likes received

Hi Rob,

It looks good as for each Transmit request DIR bit will be confirmed.

Thanks

Sujata

0 Likes