What are the possible causes for a Halt condition on the Flexcan module?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What are the possible causes for a Halt condition on the Flexcan module?

Jump to solution
926 Views
flaviocaduda
Contributor II

Hello,

After initializing the Flexcan module it remains in Freeze state. The only possible state before that is a Halt.

What are the possible causes for a Halt condition on the Flexcan module?

Thanks,

Flavio

0 Kudos
Reply
1 Solution
772 Views
falstaff
Senior Contributor I

Hi Flavio,

When working on the patches for FlexCAN support in mainline Linux, I discovered that the Memory error detection puts the device back into freeze state. You can find my solution in the patch I sent to the mailing lists:

[PATCH v2 4/4] can: flexcan: add vf610 support for FlexCAN

(the work around is commented with "On Vybrid, disable memory error detection interrupts...")

There is also a Errata in this area (e5295). By disabling the Memory error detection one can easily work around those issues.

--

Stefan

View solution in original post

0 Kudos
Reply
2 Replies
773 Views
falstaff
Senior Contributor I

Hi Flavio,

When working on the patches for FlexCAN support in mainline Linux, I discovered that the Memory error detection puts the device back into freeze state. You can find my solution in the patch I sent to the mailing lists:

[PATCH v2 4/4] can: flexcan: add vf610 support for FlexCAN

(the work around is commented with "On Vybrid, disable memory error detection interrupts...")

There is also a Errata in this area (e5295). By disabling the Memory error detection one can easily work around those issues.

--

Stefan

0 Kudos
Reply
772 Views
flaviocaduda
Contributor II

Thanks Stefan, the patch solved this issue.

0 Kudos
Reply