Search found 3 matches
Search found 3 matches • Page 1 of 1
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.
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_ ...
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...