Search found 87 matches

by markwj
Tue Feb 27, 2018 2:00 am
Forum: ESP32 IDF
Topic: [solved] SDMMC 1-line mode, free-up unused pins
Replies: 4
Views: 1555

Re: SDMMC 1-line mode, free-up unused pins

Do you set host.flags = SDMMC_HOST_FLAG_1BIT? Yes. and slot_config.width = 1 ? No :-) That fixed it. Best 1 line (pun intended) fix ever. Many thanks for the quick assistance. So, code for 1 bit SDCARD is: sdmmc_host_t host = SDMMC_HOST_DEFAULT(); // this tells SD host to keep using 1-line bus mode...
by markwj
Tue Feb 27, 2018 1:45 am
Forum: General Discussion
Topic: How to override or detect SNTP_SET_SYSTEM_TIME_US?
Replies: 5
Views: 2227

Re: How to override or detect SNTP_SET_SYSTEM_TIME_US?

I'm going to try to get a change to add an extensible callback mechanism added to ESP IDF master. In the meantime, we'll do it in our own clone.
by markwj
Tue Feb 27, 2018 1:43 am
Forum: ESP32 IDF
Topic: Any way to override ESP IDF constant #defines
Replies: 9
Views: 2546

Re: Any way to override ESP IDF constant #defines

Thanks for the replies. I was really just wondering if there is a standard way of overriding these things. Given that we already have our own fork of ESP IDF, it is not too onerous to change it, but we don't want to diverge from mainline too much. We'll make the change in an extensible way, then sen...
by markwj
Mon Feb 26, 2018 11:31 pm
Forum: ESP32 IDF
Topic: [solved] SDMMC 1-line mode, free-up unused pins
Replies: 4
Views: 1555

Re: SDMMC 1-line mode, free-up unused pins

WiFive wrote:Are you talking about the Arduino version? If so you should post in Arduino forum.
No. Straight C code, using latest ESP IDF.
by markwj
Mon Feb 26, 2018 2:43 pm
Forum: ESP32 IDF
Topic: [solved] SDMMC 1-line mode, free-up unused pins
Replies: 4
Views: 1555

[solved] SDMMC 1-line mode, free-up unused pins

I'm running the SDMMC in 1-line mode, so would like to free-up the unused pins for other functions. Specifically SD_DATA1, SD_DATA2, and SD_DATA3. However, after mounting the SD CARD, it seems the driver re-maps those pins to SDMMC and I can't access them properly in the UART driver I am trying to w...
by markwj
Mon Feb 26, 2018 6:54 am
Forum: ESP32 IDF
Topic: Any way to override ESP IDF constant #defines
Replies: 9
Views: 2546

Any way to override ESP IDF constant #defines

Is there any way to override ESP IDF constant #defines, to be specific to the app we are developing (built against ESP IDF).

For example, components/lwip/include/lwip/port/lwipopts.h I need a different implementation for #define SNTP_SET_SYSTEM_TIME_US.

Any suggestions appreciated.
by markwj
Mon Feb 26, 2018 2:04 am
Forum: ESP32 IDF
Topic: Need Help to use PSRAM with External efused Flash(16 MB)
Replies: 7
Views: 2400

Re: Need Help to use PSRAM with External efused Flash(16 MB)

This is a rabbit hole that we went down, and lost about two months (on top of another three months chasing an SDCARD bug vs external flash). The idea is great. Just use another GPIO for a CS line, add an external flash chip, and burn the eFuses. For the WROOM32, we got it to working ok (apart from t...
by markwj
Mon Feb 26, 2018 12:47 am
Forum: General Discussion
Topic: Using WROOM with External 1.8V PSRAM
Replies: 11
Views: 3035

Re: Using WROOM with External 1.8V PSRAM

Was it a delay issue, a signal integrity issue, or a combination of both? I had read somewhere on the forums, that a chip manufacturer is working a 3.3V PSRAM, but I'm worried about the supply chain of that part. The level converter introduced a propagation delay that became significant at 40MHz. T...
by markwj
Sat Feb 24, 2018 1:03 pm
Forum: General Discussion
Topic: Using WROOM with External 1.8V PSRAM
Replies: 11
Views: 3035

Re: Using WROOM with External 1.8V PSRAM

Not sure if it is much help, but I tried and failed this route. The PSRAM clock is different (delayed) from the FLASH clock, and both run at high speed (40MHz). Adding a level converter, with further propagation delay, just wasn't reliable. Our project switched back to using standard modules. Analog...
by markwj
Mon Feb 12, 2018 6:32 am
Forum: Hardware
Topic: Need help to connect external 16 MB SPI Flash Memory on ESP32-WROVER Kit
Replies: 34
Views: 20488

Re: Need help to connect external 16 MB SPI Flash Memory on ESP32-WROVER Kit

We had used voltage level convertor to convert 3.3 V to 1.8 V. So, Let me check schematic and will get back to you with exact details. We had also checked PSRAM. So you have to use it's supported Toolchain for that. Please confirm that from your end with ESP32 IDF 3.X That would be helpful. From wh...

Go to advanced search