Everyone,
Andreas Jansson found an issue with our MCP based CAN buses getting stuck occasionally on high bus load (see PR #1461 & #1462). The fix is based on changing the interrupt trigger from edge to level for the MCP buses, to assert all interrupt reasons get fully processed.
This in turn lead to the discovery that the custom module by Thomas Heuer for the Smart car actually isn't equipped with the second MCP2515, but also doesn't pull up the interrupt input pin. With interrupt trigger on level, that lead to an interrupt storm right on initialization of `can3`, fully blocking the boot process.
See https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/issues/1475 for details.
To fix that the MCP2515 driver now probes the device before actually enabling interrupts.
Both changes need to be tested thoroughly with vehicles actually using `can2` / `can3` / `can4`.
Regards,
Michael
PS: I remember there were still some open issues with MCP CAN buses, maybe the interrupt trigger change has an effect on those as well.
_______________________________________________ OvmsDev mailing list -- ovmsdev@lists.openvehicles.com To unsubscribe send an email to ovmsdev-leave@lists.openvehicles.com