Search found 9 matches

by DiEitch
Thu Jun 20, 2019 2:21 pm
Forum: ESP-IDF
Topic: SDIO slave. How to change timings?
Replies: 10
Views: 13920

Re: SDIO slave. How to change timings?

Hi DiEitch, ... Seen from the picture, the slave may ignore one of the clocks. This is possible to be caused by the SSN when all the data lines changed from 1-0 or 0-1. This is move possible to happen in 4-bit mode. ... Michael. Hallo Michael. About GND, I tried to add conductors, but no changed an...
by DiEitch
Thu Jun 06, 2019 9:47 am
Forum: ESP-IDF
Topic: SDIO & WIFI
Replies: 6
Views: 8652

Re: SDIO & WIFI

Hallo.

In any case, thanks for the reply!
I create issue: https://github.com/espressif/arduino-esp32/issues/2860
This problem be in arduino and in eclipse too. :shock:
But when I use eps32-at with SDIO mode - all works fine in 1 bit mode. :?:

With the best regards.
by DiEitch
Wed Jun 05, 2019 3:18 pm
Forum: ESP-IDF
Topic: SDIO slave. How to change timings?
Replies: 10
Views: 13920

Re: SDIO slave. How to change timings?

About my fifo rx function: int esp32_sdio_rd_fifo(void) { int ret; u16 sz; ret = esp32_sdio_get_pktlen(&sz); //OK if (ret<0) ud_add(uD_Halt); if (ret<0) return ret; ret = sdio_memcpy_fromio(&sdio0, buf81, FIFO_ADDR-sz, sz); if (ret<0) ud_add(uD_Halt); if (ret<0) return ret; return ret; }
by DiEitch
Wed Jun 05, 2019 3:11 pm
Forum: ESP-IDF
Topic: SDIO slave. How to change timings?
Replies: 10
Views: 13920

Re: SDIO slave. How to change timings?

Hallo.
In 1bit mode its work ok!

With the best regards.
by DiEitch
Mon May 27, 2019 1:28 pm
Forum: ESP-IDF
Topic: SDIO & WIFI
Replies: 6
Views: 8652

Re: SDIO & WIFI

Hi.
I tried to change, but nothing has changed. Can there be something else?
Also I tried to change directly in sdkconfig.

Who can tell, after changing sdkconfig, I need to do something else if I work in the Arduino IDE?
by DiEitch
Mon May 27, 2019 10:37 am
Forum: ESP-IDF
Topic: SDIO & WIFI
Replies: 6
Views: 8652

Re: SDIO & WIFI

I check "Support LWIP socket select() only" because
https://github.com/espressif/esp-idf/bl ... ip/Kconfig.
by DiEitch
Mon May 27, 2019 10:23 am
Forum: ESP-IDF
Topic: SDIO & WIFI
Replies: 6
Views: 8652

Re: SDIO & WIFI

Hi felixcollins.
Thank for reply.
I had no find this option in LWIP section.
:?:

With the best regards.
by DiEitch
Wed May 22, 2019 3:31 pm
Forum: ESP-IDF
Topic: SDIO & WIFI
Replies: 6
Views: 8652

SDIO & WIFI

Hi. When I turn on WiFi esp_err_t wifi_setup() { esp_err_t ret; WiFi.mode(WIFI_STA); WiFi.disconnect(true); WiFi.onEvent(WiFiEvent); //not depend delay(100); return ESP_OK; } sdio_slave is hangs. I also try init with low level: esp_err_t wifi_setup(void) { //s_wifi_event_group = xEventGroupCreate();...
by DiEitch
Wed May 22, 2019 12:51 pm
Forum: ESP-IDF
Topic: SDIO slave. How to change timings?
Replies: 10
Views: 13920

Re: SDIO slave. How to change timings?

Hi to all. Sdio slave->host really work abnormal. I got standart example and some modified: void loop() { esp_err_t ret; //receive data and send back to host. size_t length_rx; uint8_t *ptr; //set_irq(0); const TickType_t non_blocking = 0; ret = sdio_slave_recv(&handle_rx, &ptr, &length_rx, non_bloc...