SPI Software Pull-up

Anil kumar
Posts: 4
Joined: Mon Aug 12, 2019 10:42 am

SPI Software Pull-up

Postby Anil kumar » Fri Sep 06, 2019 7:13 am

Can we use SPI software pull-up in esp32?

Posts: 622
Joined: Mon Jun 04, 2018 2:47 pm

Re: SPI Software Pull-up

Postby PeterR » Fri Sep 06, 2019 9:33 am


Code: Select all

gpioConfig.mode         = GPIO_MODE_OUTPUT;
gpioConfig.pull_up_en   = GPIO_PULLUP;
instead of

Code: Select all

gpioConfig.pull_up_en   = GPIO_PULLUP_DISABLE;
I think I tried once and my initialisation hung. I was having a bad day though.
Anyway why would you need to? I am sure that GPIO_MODE_OUTPUT is push pull.
& I also believe that IDF CAN should be fixed.

Who is online

Users browsing this forum: No registered users and 53 guests