Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport STM32H7 FDCAN #185

Open
wants to merge 7 commits into
base: px4_firmware_nuttx-10.1.0+
Choose a base branch
from

Conversation

JacobCrabill
Copy link
Member

@JacobCrabill JacobCrabill commented May 24, 2022

Summary

Backport of apache/nuttx#6057

Adds SocketCAN driver for STM32H7 MCUs.

Impact

Enables SocketCAN usage on all STM32H7 boards which have a CAN interface available (needed for UAVCANv1 / Cyphal within PX4).

Testing

So far, only a version based on top of NuttX 10.3.0[+] has been tested on hardware - I plan to repeat my basic integration tests using this branch soon.
(These tests will involve building PX4 for several H7 boards and testing UAVCANv1 / Cyphal support with both CAN2.0B and CAN-FD frames).

Future TODOs

@julianoes
Copy link
Contributor

julianoes commented Nov 2, 2022

@JacobCrabill thanks for this!

I assume I can use this backport to talk to a CAN (not CAN-FD) device on an STM32H7, right?

And do you happen to have any example around where this is used, or how it would be used?

@swimmingseeds
Copy link

This pull request has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there:

https://discuss.px4.io/t/socketcan-with-px4-v1-12-3/31150/1

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.

3 participants