Search found 65 matches

by squonk11
Fri Jan 11, 2019 9:44 pm
Forum: General Discussion
Topic: [SPI] how to stop using DMA
Replies: 8
Views: 4654

Re: [SPI] how to stop using DMA

Thank you for providing your source code! But for master mode now the problem seems to be fixed also in the esp-idf sources. For the slave mode the problem still exists and unfortunalely I urgently need a solution. Currently I am working on a totally stupid solution: I am trying to emulate an SPI sl...
by squonk11
Fri Jan 11, 2019 2:44 pm
Forum: General Discussion
Topic: [SPI] how to stop using DMA
Replies: 8
Views: 4654

Re: [SPI] how to stop using DMA

@michprev : are you willing to share your code of your spi driver? I am currently stuck with the problem that the spi slave driver from Espressif has the problem that in DMA mode for certain telegrams some of the received bytes are missing. So I am searching for another solution.
by squonk11
Fri Jan 11, 2019 2:35 pm
Forum: ESP-IDF
Topic: SPI transaction interval
Replies: 4
Views: 2541

Re: SPI transaction interval

Hello, I read that you suggest to read bytes from the slave SPI via polling: -Using polling, if you don't mind the CPU being busy while waiting, rather than go do something else. Do you have sample code for that? AFAIK Espressif is currently only supplying a driver SW which is suffering from a desig...
by squonk11
Wed Jan 09, 2019 7:45 pm
Forum: Hardware
Topic: SPI slave driver, last 4 Bytes missing (using DMA)
Replies: 15
Views: 8083

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

@trancefreak : did you find a solution or workaround for this problem? Unfortunately I encounter the same problem... :(
by squonk11
Wed Jan 09, 2019 7:40 pm
Forum: ESP-IDF
Topic: [SPI Slave] lost rx_buffer data after spi_slave_transmit
Replies: 3
Views: 1916

Re: [SPI Slave] lost rx_buffer data after spi_slave_transmit

@paul719 : did you find a solution for this problem? I am having the same problem. Is there some workaround?
by squonk11
Tue Jan 08, 2019 5:13 pm
Forum: ESP-IDF
Topic: SPI slave design flaw
Replies: 2
Views: 1457

Re: SPI slave design flaw

In the driver source for the SPI interface I see in spi_common.c :

Code: Select all

/*
Code for workaround for DMA issue in ESP32 v0/v1 silicon
*/
Does this imply that there might be a v2 silicon in progress which fixes this problem?
by squonk11
Mon Jan 07, 2019 2:28 pm
Forum: ESP-IDF
Topic: Compilation problem with CMake build system under Windows 7
Replies: 7
Views: 3431

Re: Compilation problem with CMake build system under Windows 7

no, also this does not help; no output.
I also put

Code: Select all

print "Hello"
before and after the import lines; but also this does not produce any output.
by squonk11
Mon Jan 07, 2019 11:02 am
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 392
Views: 209311

Re: What would you like to see in The Next Chip?

These are the suggestions from my side: SPI interface without the "design peculiarity" of the existing ESP32; maybe you have a bug-fix version for the ESP32 soon? I found out that the filter functionality of the SPI interface is very helpful for more robust EMC behaviour. So, my suggestion would be ...
by squonk11
Mon Jan 07, 2019 8:58 am
Forum: ESP-IDF
Topic: Compilation problem with CMake build system under Windows 7
Replies: 7
Views: 3431

Re: Compilation problem with CMake build system under Windows 7

This, indeed, is a strange thing on my PC: In the file associations I see that it is linked with pythonw.exe (which surely is wrong). But I am not able to change this setting - even not as administrator level. But: when I look into the registry (HKEY_CLASSES_ROOT) I see that ".py" is linked to "Pyth...
by squonk11
Sun Jan 06, 2019 12:40 am
Forum: ESP-IDF
Topic: SPI slave design flaw
Replies: 2
Views: 1457

Re: SPI slave design flaw

Unfortunately this topic is becoming a bigger problem for me. Isn't there any workaround; even if it is a crazy solution like polling of incomming data???
Please help!

Go to advanced search