Search found 17 matches

by JeffWilliams
Thu Feb 28, 2019 3:58 pm
Forum: General Discussion
Topic: Who has had luck using SDIO 4-bit for SD Cards with IDF?
Replies: 3
Views: 6352

Re: Who has had luck using SDIO 4-bit for SD Cards with IDF?

Permal, thanks for the reply and pointing to your repo! The first thing I notice is you use much weaker pull-up than I. You have 50K on your board and your software also enables the internal pull-up which from https://esp32.com/viewtopic.php?t=5111 we should consider is also 50K. So effectively you ...
by JeffWilliams
Thu Feb 28, 2019 2:09 am
Forum: General Discussion
Topic: Who has had luck using SDIO 4-bit for SD Cards with IDF?
Replies: 3
Views: 6352

Who has had luck using SDIO 4-bit for SD Cards with IDF?

I am having a tough time getting the sd card example or my own code working reliably. The 2 dev boards I am using (DOIT ESP32 DevKit) I have - used espefuse to set them for 3.3V flash so that GPIO 12 is not an issue for boot. - jumpered GPIO 0 and GPIO 2 to ensure at boot GPIO 2 is low - I have used...
by JeffWilliams
Sun Feb 17, 2019 12:06 pm
Forum: ESP-IDF
Topic: What is ESP IDF ?
Replies: 7
Views: 9258

Re: What is ESP IDF ?

Here is an aspect others have not pointed out. Arduino effectively hides you from project structure and build process. Arduino gives you the editor and a menu stucture to build the code and upload it to the MCU. The IDF you can pick what editor you want (I use eclipse) , you can use c or c++ and you...
by JeffWilliams
Wed Mar 14, 2018 3:43 am
Forum: General Discussion
Topic: Anyone have an ADS1115 library for ESP32 IDF?
Replies: 0
Views: 2724

Anyone have an ADS1115 library for ESP32 IDF?

Hello,

Before I start to rework an Arduino library or roll my own for the IDF I thought I would see if anyone has one already created?

Thanks, Jeff
by JeffWilliams
Wed Mar 07, 2018 4:40 pm
Forum: General Discussion
Topic: ESP32 doesn't seem to keep up with UART when using uart_enable_pattern_det_intr
Replies: 2
Views: 7141

Re: ESP32 doesn't seem to keep up with UART when using uart_enable_pattern_det_intr

By accident I have it working better. All I did was change the logging. I removed all logging from the code except for ESP_LOGI(TAG, "[UART PATTERN DETECTED] pos: %d, buffered size: %d", pos, buffered_size); Now things work fine. It seems my previous experience has to do with logging output to UART0...
by JeffWilliams
Tue Mar 06, 2018 5:50 pm
Forum: General Discussion
Topic: ESP32 doesn't seem to keep up with UART when using uart_enable_pattern_det_intr
Replies: 2
Views: 7141

ESP32 doesn't seem to keep up with UART when using uart_enable_pattern_det_intr

Hello, I am parsing GPS NMEA data inbound on UART2 at 115200 baud. The GPS is capable of 50Hz updates though I have it set to 25Hz currently. Module does not have any flow control, it just streams the NMEA sentences. I am using current master of IDF from git and planned to use uart_enable_pattern_de...
by JeffWilliams
Mon Feb 19, 2018 3:42 am
Forum: General Discussion
Topic: Arduino SD_MMC example vs IDF SDMMC example (one works, one doesn't)
Replies: 3
Views: 6580

Re: Arduino SD_MMC example vs IDF SDMMC example (one works, one doesn't)

Here I am replying to my own post again. So even the new card I got to work for 1 set of tests is no longer working. I have moved to just using the IDF unit test app to test. I have 3 SD Cards and 2 different SDCard slots connected. Probe for 4-bit and 1-bit work fine and get card details correctly:...
by JeffWilliams
Mon Feb 19, 2018 2:02 am
Forum: General Discussion
Topic: Using some Arduino libraries in bare-metal ESP32-IDF
Replies: 2
Views: 7984

Re: Using some Arduino libraries in bare-metal ESP32-IDF

You can include the Arduino system as a component to your IDF project
https://github.com/espressif/arduino-es ... mponent.md

It allows you to use IDF and Arduino together

jeff
by JeffWilliams
Sat Feb 10, 2018 10:04 pm
Forum: General Discussion
Topic: Arduino SD_MMC example vs IDF SDMMC example (one works, one doesn't)
Replies: 3
Views: 6580

Re: Arduino SD_MMC example vs IDF SDMMC example (one works, one doesn't)

Seems I got the IDF version of the code working. How? I changed the card brand and type. My initial tests were with a SanDisk Ultra 32GB card. It formated using Windows SD Formater utility and ran under Windows, Android phone etc fine. I could create files using Arduino. I had thought maybe it was t...
by JeffWilliams
Sat Feb 10, 2018 3:56 pm
Forum: General Discussion
Topic: Arduino SD_MMC example vs IDF SDMMC example (one works, one doesn't)
Replies: 3
Views: 6580

Arduino SD_MMC example vs IDF SDMMC example (one works, one doesn't)

Hello, I am trying to add some SD Card capabilities to a project and recently tried the example that comes with the IDF (update to date MASTER IDF). No matter what I did I couldn't get it to work. I (0) cpu_start: Starting scheduler on APP CPU. I (259) example: Initializing SD card I (259) example: ...