adamczykpiotr / pico-mcp2515

Raspberry Pi Pico MCP2515 CAN-Bus Interface Library
MIT License
75 stars 25 forks source link

Added wake-on-activity support #7

Open gregyedlik opened 2 months ago

adamczykpiotr commented 1 month ago

Hey, could you provide a bit of context how to test it so I can verify the code and merge your PR?

gregyedlik commented 1 month ago

Hi Adam

Here is an example that uses it: https://github.com/gregyedlik/irq_lowpow_canbed

To really test it, you need to monitor the current consumption of the chip (or at least the board) so that you see it moving from sleep mode to listen only mode mode, and then eventually normal mode if you explicitly make that happen from the software, as I did in the example above.