Search found 2 matches

by JeffCa
Mon May 18, 2020 11:54 am
Forum: Hardware
Topic: First SPI read successful, then fails after first SPI write - Logic Analyzer says both reads identical
Replies: 1
Views: 2613

Re: First SPI read successful, then fails after first SPI write - Logic Analyzer says both reads identical

Stumbled across this 2017 bug https://github.com/espressif/esp-idf/issues/598 . The issue was closed, even though the comment section indicates it wasn't entirely fixed. If I follow the comments correctly, the user circumvented the problem by avoiding combined write/reads. Maybe the bug should be re...
by JeffCa
Fri May 15, 2020 9:13 pm
Forum: Hardware
Topic: First SPI read successful, then fails after first SPI write - Logic Analyzer says both reads identical
Replies: 1
Views: 2613

First SPI read successful, then fails after first SPI write - Logic Analyzer says both reads identical

I am interfacing via SPI to a graphics chip. Reading the chip ID succeeds, but after the first SPI write, the exact same read as before now fails. I see the identical slave response on the logic analyzer, though. Completely removing the device from the bus (spi_bus_remove_device() ) AND re-initializ...