Skip to content

Pins C14, C15 "in use" right from the start on stm32f411xe #6553

Open
@rgbpcb

Description

@rgbpcb

CircuitPython version

Adafruit CircuitPython 8.0.0-alpha.1-31-gc1b00442a on 2022-07-02; stm32f411ce-blackpill with STM32F411CE

Code/REPL

import board, digitalio
digitalio.DigitalInOut(board.C14)

Behavior

ValueError: C14 in use

Description

No response

Additional information

If I comment out the calls to never_reset_pin_number() here, then the error doesn't appear anymore. But then using those pins among the row_pins of keypad.KeyMatrix() prevents the key matrix from detecting any events, also from other pins. The condition if key_matrix.events.get() (where key_matrix was the output of keypad.KeyMatrix()) is never triggered (on a board without a low-speed crystal, i.e. where pins C14 and C15 aren't occupied by a crystal). Without using pins C14 and C15, it works. But I'd like to use pins C14, C15.

Metadata

Metadata

Assignees

No one assigned

    Labels

    boardNew board or update to a single boardbugstm

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions