Adafruit SD card reader and DPS310 not working together with SPI

Though I couldn't see why it would cause an issue, I really thought that level translation/"SPI or I2C" thing might be on to something. But then you got the two of them to work on a breadboard.

I'll just throw this out there: could it be as simple as a short between your two CS pins? They are on adjacent header pins.

Failing that, can you test a Rev 2 in the breadboard setup? If that works, that points to a PCB/wiring problem in the original. If it doesn't... what's different in SPI between the original and the Rev 2???

No short unfortunately haha. I plugged the rev2 into the setup and it worked fine so its got to be the PCB... Do you mind taking a quick looks at the schematic?


It is slightly different than the one you saw in the picture earlier but the differences do not affect the SD or sensor - just the display.

I think I see the problem.

You're powering the DPS310 with 5V. That should be 3.3V. Otherwise it's putting out a 5V signal on MISO and expecting 5V signals on /CS, SCK and MOSI.

From the Adafruit DPS310 page:

  • Vin - this is the power pin. Since the sensor chip uses 3 VDC, we have included a voltage regulator on board that will take 3-5VDC and safely convert it down. To power the board, give it the same power as the logic level of your microcontroller - e.g. for a 5V microcontroller like Arduino, use 5V

(and you may have a similar issue with the display being powered by 5V)

(and your button header is inputting 5V - is the Nano 33 BLE 5V tolerant?)

(and you're using an NPN transistor as a high side switch)

1 Like

Got it thank you van! I was going to reprint this PCB anyway so thank you for the additional tips! Once I get it I will test and reply to this thread to let you know whether it worked or not.

And you don't have a base resistor on that transistor; ouch.

Hey van_der_decken,
I redesigned the PCB with 3v for all devices and I am running into the same issue... I am kinda running out of ideas on what could be causing the problem here. I tested the components before PCB, I tested them individually on the PCB and they work great, but as soon as I plug in both, neither can initialize.

Sorry, but I've given you what ideas occurred to me. And I don't have a DPS310 to test with.

Thank you! I think maybe it has to do with my PCB traces and some weird cross-talk thing.

I'd suggest you ask about this on the Adafruit forum.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.