adafruit / adafruit/Adafruit_CircuitPython_MCP2515

Adding support for 12Mhz crystal oscillator in __init__.py

Open
#26 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
29
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Please add in __init__.py support for a crystal oscillator running at 12Mhz.

I would like to use on a [WaveShare RP2040-PiZero](https://circuitpython.org/board/waveshare_rp2040_pizero/) with a [WaveShare RS485 CAN HAT for Raspberry Pi](https://www.waveshare.com/rs485-can-hat.htm) which uses a 12Mhz oscillator. This HAT exists in two variants, one with 8Mhz and one with 12Mhz.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting __init__.py for the existing crystal-oscillator configuration and how the current 8MHz case is represented. Confirm how the WaveShare RS485 CAN HAT's 12MHz variant should be selected, then verify that 12MHz support works while preserving the existing 8MHz behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.