Search found 3 matches

by mikemoretti
Fri Jun 26, 2020 4:12 pm
Forum: Hardware
Topic: SDIO problems
Replies: 2
Views: 355

Re: SDIO problems

Actually, I solved my problem. I had badly ported part of the esp slave code to the IMXRT. One of my low level functions was passing an invalid parameter. However, I did have to use SDIO_SLAVE_TIMING_NSEND_PSAMPLE on the esp32 slave side to get the IMXRT to be able to read data from it.

-m
by mikemoretti
Fri Jun 26, 2020 3:18 pm
Forum: Hardware
Topic: SDIO problems
Replies: 2
Views: 355

Re: SDIO problems

So, actually, for IMXRT to ESP32 the err = esp_slave_read_bytes(context, HOST_SLC0HOST_TOKEN_RDATA_REG, (uint8_t*)&len, 4); in esp_slave_get_tx_buffer_num was getting 0x00001000 in len but then doing some bit math and it ends up 0 at the end. Also, I tried all the permutations of SDIO_SLAVE_TIMING_ ...
by mikemoretti
Thu Jun 25, 2020 8:42 pm
Forum: Hardware
Topic: SDIO problems
Replies: 2
Views: 355

SDIO problems

I've been trying to get the SDIO host/slave examples working on two ESP32 dev boards. I'm using the secondary SDIO pins (the ones that are also JTAG pins), not the pins that are used for the SPI flash. I went through all the rigamarole of adding pullups to the lines, dealing with GPIO12 and all that...

Go to advanced search