Skip to content

Conversation

@devanlai
Copy link
Contributor

@devanlai devanlai commented Jun 7, 2014

  • Fixed bug where outgoing messages always had DIR bit set, even if message type was CANRemote.
  • Fixed TODO where incoming messages were always assigned message type CANData even if the message was remote
  • Changed filter setup to no longer set MDIR bit in receive filter; this allows remote messages to pass through the filter.

I've tested this on an LPC11C14 and seems to work fine. The one caveat is that the filter no longer prevents remote messages from showing up in CAN.read() (though the message type is now set correctly). I'm not sure what the default behavior for filtering data vs remote frames on other platforms is right now.

Perhaps the filter API should include an enum for filtering message of type CANData vs CANRemote vs either.

Fixed bug where outgoing messages always had DIR bit set, even if
message type was CANRemote.
Fixed TODO where incoming messages were always assigned message type
CANData even if the message was remote
Changed filter setup to no longer set MDIR bit in receive filter; this
allows remote messages to pass through the filter.
bogdanm added a commit that referenced this pull request Jun 11, 2014
Add support for remote CAN frames on LPC11CXX
@bogdanm bogdanm merged commit ff65c63 into ARMmbed:master Jun 11, 2014
@devanlai devanlai deleted the LPC11CXX-RTR branch June 11, 2014 08:30
ccli8 pushed a commit to ccli8/mbed-os that referenced this pull request Sep 19, 2024
* STM32H7: Fix wrong address for DTCM in linker script

* Fix tab
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.

2 participants