adafruit / adafruit/Adafruit_CircuitPython_MCP2515
RuntimeError: Timeout setting Mode
- Dominant language
- Python
- Stars
- 29
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to use the MCP2515 with my BlueSense Feather and rp2040 feather. I ran your simple test code and it fails to initialize on 4 different MCP2515 boards. Any suggestions or should I just forget about the MCP2515 and suck it up and buy some feather cans.
Traceback (most recent call last):
File "code.py", line 16, in
File "adafruit_mcp2515/__init__.py", line 270, in __init__
File "adafruit_mcp2515/__init__.py", line 302, in initialize
File "adafruit_mcp2515/__init__.py", line 631, in _set_mode
File "adafruit_mcp2515/__init__.py", line 650, in _request_new_mode
RuntimeError: Timeout setting Mode
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the simple test in code.py at line 16 and trace the reported failure through adafruit_mcp2515/__init__.py at lines 270, 302, 631, and 650. Reproduce the timeout with the MCP2515 and the BlueSense Feather or RP2040 Feather, then determine what is needed for initialization to complete without the RuntimeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100