Jump to content

[CNX-Software] - can2040 project adds software CAN bus to Raspberry Pi RP2040 microcontroller


RSS Bot

Recommended Posts

Raspberry Pi RP2040 can2040 software CAN Bus

The can2040 project is a software CAN bus implementation for the Raspberry Pi RP2040 microcontroller that leverages programmable I/Os (PIO) to achieve reading and writing CAN 2.0B data frames at rates up to 1Mbit per second. Kevin O’Connor, the developer of the project, further explains the implementation uses only one of the two RP2040 PIO hardware blocks, so it is possible for a single Raspberry Pi RP2040 chip to have two separate CAN bus interfaces. Some processing also happens on one of the Arm Cortex-M0+ cores of the microcontroller with the processing time dependent on the amount of bus traffic, and a fully saturated CAN bus at the fastest supported rate of 1Mbit/s may use up to around 30% of that core when clocked at 125MHz, so that should still leave plenty of room for other tasks that may run on the system. I could not find any information about [...]

The post can2040 project adds software CAN bus to Raspberry Pi RP2040 microcontroller appeared first on CNX Software - Embedded Systems News.

View the full article

Link to comment
Share on other sites

The CAN Bus, which stands for Controller Area Network, is a protocol primarily used for networks that connect microcontrollers or embedded systems. Can2040 adds this capability to the popular Raspberry Pi computer. It is possible through the use of the RP2040 processor and the additional interfaces that are available to use both CAN controllers and other serial devices.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines