Skip to content

Fix : MCP2515 initialisation now respects filters and rollover to RXB1 - #1486

Open
wayne-love wants to merge 2 commits into
openvehicles:masterfrom
wayne-love:MCP2515-Filter-Fix
Open

Fix : MCP2515 initialisation now respects filters and rollover to RXB1#1486
wayne-love wants to merge 2 commits into
openvehicles:masterfrom
wayne-love:MCP2515-Filter-Fix

Conversation

@wayne-love

Copy link
Copy Markdown
Contributor

Fixes #1485.

MCP2515 was being initialised to accept all (ignore filters) and rollover was disabled (contrary to the code comments). I'm not a MCP2515 expert but the changes seem sound and test ok on my Leaf.

@dexterbg

Copy link
Copy Markdown
Member

You're probably right regarding the acceptance filter mode needing activation in REG_RXB0CTRL. That seems to be missing.
But that must only be done when an acceptance filter actually is configured, not as a default.

Your rollover change doesn't make any sense. The rollover is already enabled (as commented) and you try to set a read-only copy of the control bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP2515 setaccfilter filters being ignored

2 participants