Xiao nRF52840 project works when powered with 5V, not with battery or 3.3V

Hi there,

The power domains …will get you sometimes, if you have a look at the adding external flash to the Grove Expansion board Demo I have on here, you’ll see the SpIM tech I used to have external SPI on 2 .

I used the adafruit flash info to build it from and test both internal, onboard and added external chip I added.:+1:

HTH
GL :grin: PJ :v:

here’s a peek

#define SS_SPI0 1  // default to Pin 7 if you don't declare it as the CS for the Flash Chip A1/D1 pin1 on the Xiao
#define SS_SPI1 25  // Default SS or CS for the Onboard QSPI Flash Chip

SPIClass SPI_2(NRF_SPIM0, PIN_QSPI_IO1, PIN_QSPI_SCK, PIN_QSPI_IO0);  // Onboard QSPI Flash chip
Adafruit_FlashTransport_SPI QflashTransport(PIN_QSPI_CS, SPI_2);      // CS for QSPI Flash
Adafruit_SPIFlash Qflash(&QflashTransport);

SPIClass SPI_1(NRF_SPIM3, D9, D8, D10);                       // MISO, SCK, MOSI /EXPANSION FLASH// CS pin D1 (hardwired)
Adafruit_FlashTransport_SPI EflashTransport(SS_SPI0, SPI_1);  // Flash Type
Adafruit_SPIFlash Eflash(&EflashTransport);