Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPI definition in board library not working on KB2040 #5875

Closed
RetiredWizard opened this issue Jan 17, 2022 · 0 comments · Fixed by #5876
Closed

SPI definition in board library not working on KB2040 #5875

RetiredWizard opened this issue Jan 17, 2022 · 0 comments · Fixed by #5876
Labels

Comments

@RetiredWizard
Copy link

CircuitPython version

Adafruit CircuitPython 7.1.1 on 2022-01-14; Adafruit KB2040 with rp2040

Code/REPL

import board
spi=board.SPI()

Behavior

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NotImplementedError: No default SPI bus

Description

Error while using SPI on KB2040 board. Using the following instructions creates a working SPI object:

import board,busio
spi = busio.SPI(board.SCK, board.MOSI, board.MISO)

Additional information

No response

@RetiredWizard RetiredWizard changed the title SPI definition in board library not working SPI definition in board library not working on KB2040 Jan 17, 2022
Neradoc added a commit to Neradoc/circuitpython that referenced this issue Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant