E Amazings
  • Home
  • Automotive
  • Business
  • CBD
  • Crypto
  • Education
  • Entertainment
  • Fashion
  • Finance
  • Health
  • Home Improvement
  • Law \ Legal
  • News
  • Shopping
  • Sports
  • Technology
  • Travel

Subscribe to Updates

Get the latest creative news from FooBar about art, design and business.

What's Hot

China cuts interest rate to shore up sagging economy

August 15, 2022

Binance Gets In-Principal Approval to Operate in Kazakhstan

August 15, 2022

India’s first intranasal Covid-19 vaccine trial over, Bharat Biotech calls it safe and immunogenic

August 15, 2022
Facebook Twitter Instagram
E Amazings
  • Home
  • Automotive
  • Business
  • CBD
  • Crypto
  • Education
  • Entertainment
  • Fashion
  • Finance
  • Health
  • Home Improvement
  • Law \ Legal
  • News
  • Shopping
  • Sports
  • Technology
  • Travel
Facebook Twitter Instagram
E Amazings
You are at:Home»Technology»CAN Peripheral For RP2040, Courtesy Of PIO
Technology

CAN Peripheral For RP2040, Courtesy Of PIO

Paul EasterBy Paul EasterJuly 9, 2022No Comments2 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Share
Facebook Twitter Pinterest WhatsApp Email


[Kevin O’Connor] writes to us about his project, can2040 – adding CAN support to the RP2040. The RP2040 doesn’t have a CAN peripheral, but [Kevin] wrote code for the RP2040’s PIO engine that can receive and send CAN packets. Now we can all benefit from his work by using this openly available CAN driver. This library is written in C, so it’s a good fit for the lower-level hackers among us, and in all likelihood, it wouldn’t be hard to make a MicroPython wrapper around it.

The CAN bus needs a peripheral for the messages to be handled properly, and people have been using external chips for this purpose until now. These chips, [Kevin] tells us, have lately been unavailable due to the chip shortage, making this project more valuable. The documentation is extensive and accessible, and [Kevin] details how to best use this driver. With such a tool in hand, you can now turn your Pico into a CAN tinkering toolkit, or wire up some CAN devices for use in your own projects!

[Kevin] says this code is already being used in Klipper, a framework powering 3D printers and other machines like them. As for your own purposes, you can absolutely use such a CAN tool to hack on your car – here’s a treasure trove of car hacking documentation, by the way! Thanks to the PIO engine, there seems to be no end to the RP2040’s versatility – you can even drive HDMI monitor with this PIO-based DVI code.

Title picture by Florent.david.lille1, CC BY-SA 3.0



Source link

Paul Easter

Related Posts

DIY LED Bulb Lacks Correct Lugs, So M3 Bolts To The Rescue

By Paul EasterAugust 15, 2022

Mac Mini Mini | Hackaday

By Paul EasterAugust 15, 2022

A Simple Streaming Radio Receiver

By Paul EasterAugust 15, 2022

What’s That Scope Trace Saying? UPD And Wireshark

By Paul EasterAugust 15, 2022
Add A Comment

Comments are closed.

Our Picks

China cuts interest rate to shore up sagging economy

By Paul EasterAugust 15, 2022

Binance Gets In-Principal Approval to Operate in Kazakhstan

By Paul EasterAugust 15, 2022

India’s first intranasal Covid-19 vaccine trial over, Bharat Biotech calls it safe and immunogenic

By Paul EasterAugust 15, 2022
Recent Posts
  • China cuts interest rate to shore up sagging economy August 15, 2022
  • Binance Gets In-Principal Approval to Operate in Kazakhstan August 15, 2022
  • India’s first intranasal Covid-19 vaccine trial over, Bharat Biotech calls it safe and immunogenic August 15, 2022
  • In Bronx Senate Race, Democrats Unite in Opposition to New Affordable Housing  August 15, 2022
  • Vivo V25 Pro 5G price in India, specifications and availability – All you need to know ahead of Aug 17 launch August 15, 2022
  • Arul Saravanan’s Film Struggles At The Box Office! August 15, 2022
  • Mahindra unveils five Electrifying SUVs in India – Check full detail here August 15, 2022
Archives
  • August 2022
  • July 2022
  • June 2022
Facebook Twitter Instagram Pinterest TikTok
  • Home
© 2022 E Amazings - All Rights Reserved.

Type above and press Enter to search. Press Esc to cancel.