SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about SparkFun's ALC PCB design services? Post them here!
User avatar
By iscold309
I am trying to use a Thing Plus Dual-Port Logging with a SparkFun Thing Plus - ESP32 WROOM (USB-C). Running the provided examples, I am getting stuck on example 5 - Sleep_SPI. While trying to initiate the SD library - SD.begin(chipSelect) - I am getting the following error:

E (32020) gpio: GPIO can only be used as input mode
E (32020) gpio: gpio_set_level(226): GPIO output gpio_num error

chipselect is defined as A5. I tried to other options A4 and A3 but I get the same error.

Is the Thing Plus Dual-Port Logging incompatible with the SparkFun Thing Plus - ESP32 WROOM (USB-C)?
User avatar
By iscold309
Well, when you look at the schematics of the dual port logging shield ... ic_v11.pdf, (look at the thing plus footprint), it is clear that the CS pin is connected to A5 (GPIO04) (or optionally to A4 - GPIO36 and A3 - GPIO39). Based on the graphical data sheet the * on GPIO036 and GPIO039 denotes that it can't be used as port output, but A5-GPIO04 has no restrictions.

The SD card logger that is on the ESP WROOM (USB-C) is connected to GPIO05 and it works, but I really want the features of the dual port logging shield...

I don't have another MCU. Do you have a suggestion of a model that might work with this datalogger?
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]