Search found 8 matches

by trancefreak
Fri Mar 01, 2019 12:14 pm
Forum: ESP32 Arduino
Topic: SPI slave mode, CLK cannot be on input only pin (see GitHub issue #2455)
Replies: 3
Views: 5508

Re: SPI slave mode, CLK cannot be on input only pin (see GitHub issue #2455)

Thanks very much!
In the meantime I use the following workaround (don't know if this is really the correct way):
I downloaded the spi_common.c code from the IDF gibthub gepo and added this file to my sources. Looks like the linker then uses this code instead of the one in the library.
by trancefreak
Thu Feb 28, 2019 3:22 pm
Forum: ESP32 Arduino
Topic: SPI slave mode, CLK cannot be on input only pin (see GitHub issue #2455)
Replies: 3
Views: 5508

Re: SPI slave mode, CLK cannot be on input only pin (see GitHub issue #2455)

No one from Espressif has an idea when the fix will be available in the arduino core framework?
Is it possible to build the libraries used by arduino core by myself out of the ESP-IDF framework?
I think the libdriver library is affected.
by trancefreak
Wed Feb 27, 2019 1:12 pm
Forum: ESP32 Arduino
Topic: SPI slave mode, CLK cannot be on input only pin (see GitHub issue #2455)
Replies: 3
Views: 5508

SPI slave mode, CLK cannot be on input only pin (see GitHub issue #2455)

Hi, There was an issue that in SPI slave mode the CLK pin couldn't be on an input only pin. See: https://github.com/espressif/esp-idf/issues/2455 This already has been fixed in the ESP-IDF master branch but it looks like the Arduino Core still doesn't have the fix (the pre-compiled libraries). When ...
by trancefreak
Wed Sep 26, 2018 7:15 am
Forum: Hardware
Topic: SPI as only input pins in slave mode
Replies: 11
Views: 18118

Re: SPI as only input pins in slave mode

Thanks for the update and link to an existing issue. Looks like I have to wait until it is fixed.
by trancefreak
Tue Sep 25, 2018 10:53 am
Forum: Hardware
Topic: SPI slave driver, last 4 Bytes missing (using DMA)
Replies: 15
Views: 21803

Re: SPI slave driver, last 4 Bytes missing (using DMA)

Please, can someone from Espressif give an update on the issue why the last 4 Bytes are always missing?
by trancefreak
Tue Sep 25, 2018 10:52 am
Forum: Hardware
Topic: SPI as only input pins in slave mode
Replies: 11
Views: 18118

Re: SPI as only input pins in slave mode

Please, can someone from Espressif give an update on the issue with CLK routed to an input pin?
by trancefreak
Thu Sep 20, 2018 7:25 am
Forum: Hardware
Topic: SPI slave driver, last 4 Bytes missing (using DMA)
Replies: 15
Views: 21803

SPI slave driver, last 4 Bytes missing (using DMA)

Hi, I'm using the spi slave driver and I have the problem that the last 4 Bytes are not written to the RX buffer. The trans_len field shows that all bytes are received. I tried all available SPI modes (0 - 3). This issue happens in all modes. I use DMA and the size of the transaction does not matter...
by trancefreak
Wed Sep 19, 2018 7:36 am
Forum: Hardware
Topic: SPI as only input pins in slave mode
Replies: 11
Views: 18118

Re: SPI as only input pins in slave mode

I also have this setup that I use the ESP32 as SPI slave. I have MOSI, CS on input only pins and this works. I also want to have CLK on an input only pin for the slave setup to free up as many output pins as possible but configuring CLK on an input only pin brings up an error message that this is no...