DSPRelated.com
Forums

8357 FlexCan issue

Started by yxp0400 October 18, 2005
Hi guy,

I am currently debugging an issue on 8357 FlexCan module.

The problem is sometimes, FlexCan seems just take whatever on the CAN
bus at that moment and move it into a MB, even though that frame has
different ID.

I can reproduce this issue by sending two CAN frames to a 8357 side
by side ( the interval between these two frame is about 33us). When
the 8357 receives the first frame, it sends a reply frame, that is it.

Here is something interesting I observed. The problem seems associate
with when I move the reply frame to transmit MB and set the control
register for sending. There is a small time window ( around 3-10
us).If I happen to set the control register for sending inside that
window, The second frame, which is on the CAN bus at the same time,
will be moved to a receving MB. But anything earlier or later will
NOT trigger the problem.

We are using ISR to handle RX and TX. I hope anybody here having FlexCan experience could help me solving
this problem. So far it looks like a hardware issue.

Thanks,

Peter