Skip to content

NANO 33BLE REV2 SENSE SPI/GPIO issue #1093

@mafeo-1

Description

@mafeo-1

Hi,

I believe I have found an issue with the NANO33 BLE REV2.

I am using Sense version but suspect this may affect standard version too.

Issue I have is that after using the SPI port to talk to an SD card, I am then no longer able to use GPIO pins even after SPI.end() has been called.
Identical code on Nano 33 IOT and original Nano allows access to GPIO after call to SPI.end().

It appears that NRF_SPIM2 enable register is not set to 0 by SPI.end() as such SPI is not disabled.
If I set manually set this 0 zero to disable the SPI, I can set the GPIO pins as desired.

Issue was raised on Arduino Forum:
https://forum.arduino.cc/t/how-to-switch-off-sd-card/1409367

Suggestion on forum was made to raise issue here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions