Friday, October 9, 2026
Home3D PrintingAn Arduino CANFD library for Adafruit Feather M4 CAN #Arduino #canbus «...

An Arduino CANFD library for Adafruit Feather M4 CAN #Arduino #canbus « Adafruit Industries – Makers, hackers, artists, designers and engineers!

[ad_1]

The CANFD Library for Adafruit Feather M4 CAN handles Controller Space Community with Versatile Information (CANFD) for CAN0 and CAN1.

The board incorporates a CANFD transceiver for CAN1 and the CANH / CANL indicators are uncovered. For CAN0, TxCAN is D12 and RxCAN is D13.

The library is absolutely suitable with the MCP2517FD, MCP2518FD CAN Controllers ACAN2517FD library https://github.com/pierremolinaro/acan2517FD, it makes use of a really related API and the identical CANFDMessage class for dealing with messages.

The driving force helps many bit charges, as normal 62.5 kbit/s, 125 kbit/s, 250 kbit/s, 500 kbit/s, and 1 Mbit/s. An environment friendly CAN bit timing calculator finds settings for them, but in addition for unique bit charges as 833 kbit/s. If the wished bit price can’t be achieved, the start methodology doesn’t configure the {hardware} and returns an error code.

See extra together with code and documentation within the GitHub repo.

Cease breadboarding and soldering – begin making instantly! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and extra. Construct initiatives with Circuit Playground in a couple of minutes with the drag-and-drop MakeCode programming website, study laptop science utilizing the CS Discoveries class on code.org, soar into CircuitPython to study Python and {hardware} collectively, TinyGO, and even use the Arduino IDE. Circuit Playground Categorical is the most recent and greatest Circuit Playground board, with assist for CircuitPython, MakeCode, and Arduino. It has a robust processor, 10 NeoPixels, mini speaker, InfraRed obtain and transmit, two buttons, a swap, 14 alligator clip pads, and many sensors: capacitive contact, IR proximity, temperature, mild, movement and sound. A complete huge world of electronics and coding is ready for you, and it suits within the palm of your hand.

Be a part of 32,000+ makers on Adafruit’s Discord channels and be a part of the neighborhood! http://adafru.it/discord

Have a tremendous mission to share? The Electronics Present and Inform is each Wednesday at 7pm ET! To affix, head over to YouTube and take a look at the present’s reside chat – we’ll publish the hyperlink there.

Be a part of us each Wednesday night time at 8pm ET for Ask an Engineer!

Comply with Adafruit on Instagram for prime secret new merchandise, behinds the scenes and extra https://www.instagram.com/adafruit/

CircuitPython – The best strategy to program microcontrollers – CircuitPython.org

Get the one spam-free day by day publication about wearables, working a “maker enterprise”, digital ideas and extra! Subscribe at AdafruitDaily.com !

No feedback but.


Adafruit has a “be wonderful to one another” remark coverage. Assist us preserve the neighborhood right here optimistic and useful. Follow the subject, be respectful of makers of all ages and ability ranges. Be type, and do not spam – Thanks!



[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments