Closed ho-ho-ho closed 1 year ago
I had some trouble getting a filter to work with standard messages where the 11. bit in the id is set, for example 0x730. Digging deeper, I noticed that the read/write access to the filter registers has the wrong mask (0x3FF instead of 0x7FF), for example here: https://github.com/stm32-rs/fdcan/blob/86bb892c76a00031b80a4b43dc47c587e8cf84c8/src/message_ram/standard_filter.rs#L49C28-L49C28
Thanks for reporting! This is indeed a bug
I had some trouble getting a filter to work with standard messages where the 11. bit in the id is set, for example 0x730. Digging deeper, I noticed that the read/write access to the filter registers has the wrong mask (0x3FF instead of 0x7FF), for example here: https://github.com/stm32-rs/fdcan/blob/86bb892c76a00031b80a4b43dc47c587e8cf84c8/src/message_ram/standard_filter.rs#L49C28-L49C28