KevinOConnor / can2040

Software CAN bus implementation for rp2040 micro-controllers
GNU General Public License v3.0
685 stars 68 forks source link

Wake arm cpu every 10 raw bits (instead of every 8 bits) #11

Closed KevinOConnor closed 2 years ago

KevinOConnor commented 2 years ago

This PR reworks the code so that the PIO raises a data irq every 10 raw bits instead of every 8 bits. This reduces the ARM cpu load by a ~3%. A minor improvement, but little cost to implementing it.

-Kevin