Skip to content

Can't use a PS/2 Keyboard and the SPI bus at the same time #4332

@miameows

Description

@miameows

Firmware

Adafruit CircuitPython 6.1.0 on 2021-01-21; Adafruit ItsyBitsy M4 Express with samd51g19

Code/REPL

import board, busio, ps2io
kbd = ps2io.Ps2(board.A2, board.A5)
spi = busio.SPI(board.SCK, board.MOSI, board.MISO)

Behavior

code.py output:
Traceback (most recent call last):
  File "code.py", line 3, in <module>
ValueError: MOSI in use

Code done running.

Description

If the kbd line is removed, it works fine.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions