Search found 41 matches

by berlinetta
Wed May 25, 2022 2:00 pm
Forum: Hardware
Topic: Problem Using SPI Slave Mode With DMA (IDFGH-7468)
Replies: 11
Views: 5548

Re: Problem Using SPI Slave Mode With DMA

ESP_Sprite, Another strange thing... if I manually modify the GPIO_FUNC68_IN_SEL_CFG_REG to change from a value of 0x38 (forced HIGH) to a value of 0x05 (routes GPIO5 directly to the VSPICS0_in signal), I get no change in behavior on the SPI peripheral. I still need to clock the bus 8192 times to ge...
by berlinetta
Tue May 24, 2022 8:54 pm
Forum: Hardware
Topic: Problem Using SPI Slave Mode With DMA (IDFGH-7468)
Replies: 11
Views: 5548

Re: Problem Using SPI Slave Mode With DMA

Hello ESP_Sprite, I have been doing some more research, and I have determined the VSPICS0_in signal is considered peripheral signal #68. This signal is configured with the GPIO_FUNC68_IN_SEL_CFG_REG register, located at address 0x3FF44240. Following initialization of my code, which includes the queu...
by berlinetta
Mon May 23, 2022 9:44 pm
Forum: Hardware
Topic: Problem Using SPI Slave Mode With DMA (IDFGH-7468)
Replies: 11
Views: 5548

Re: Problem Using SPI Slave Mode With DMA

Hello ESP_Sprite... I have been digging into the spi_slave code module, and I discovered a commented section of code within the spi_slave_initialize() function as seen below: spicommon_cs_initialize(host, slave_config->spics_io_num, 0, !bus_is_iomux(spihost[host])); // The slave DMA suffers from une...
by berlinetta
Mon May 23, 2022 3:08 pm
Forum: Hardware
Topic: Problem Using SPI Slave Mode With DMA (IDFGH-7468)
Replies: 11
Views: 5548

Re: Problem Using SPI Slave Mode With DMA

Hello, I have attached some source code for your review. The "esp_spi" module is basically a wrapper that I have written to bridge the gap between the ESP IDF and our modular source code. The main operational state machine file has been redacted to simply show the main SPI communications related fun...
by berlinetta
Mon May 23, 2022 1:34 pm
Forum: Hardware
Topic: Problem Using SPI Slave Mode With DMA (IDFGH-7468)
Replies: 11
Views: 5548

Re: Problem Using SPI Slave Mode With DMA

Hello ESP_Sprite... Yes, I have confirmed the chip select is not active when monitoring things with the logic analyzer. I have also experimented with moving the CS signal to other GPIO and I have even tied the selected GPIO to the 3.3V supply to ensure it is never activated, yet the behavior remains...
by berlinetta
Fri May 20, 2022 8:01 pm
Forum: Hardware
Topic: Problem Using SPI Slave Mode With DMA (IDFGH-7468)
Replies: 11
Views: 5548

Re: Problem Using SPI Slave Mode With DMA

Quick correction on my initial post... The data reported in the rx buffer is indeed correlating with the MOSI data from the bus... I was mistakenly expecting the data to track the MISO information (data from the serial flash) rather than the data transmitted by the master. Regardless... the question...
by berlinetta
Fri May 20, 2022 5:37 pm
Forum: Hardware
Topic: Problem Using SPI Slave Mode With DMA (IDFGH-7468)
Replies: 11
Views: 5548

Problem Using SPI Slave Mode With DMA (IDFGH-7468)

Hello All, I have been attempting to get the ESP32 to function as a slave on the SPI bus of my design. The bus is currently occupied by a serial flash device as well (separate chip select signal, of course). I have poured over all the documentation, errata and sample code to get this functionality g...
by berlinetta
Mon Mar 14, 2022 6:05 pm
Forum: ESP-IDF
Topic: NimBLE Support for DLE (Data Length Extension)
Replies: 3
Views: 3315

NimBLE Support for DLE (Data Length Extension)

Hello All, I have perused through any documentation I can find with regard to the ESP-IDF support of DLE (Data Length Extension). Documentation and answers to questions in the forum indicate that the ESP-IDF should support this enhancement of the v4.2 specification, yet many forum posters are still ...
by berlinetta
Thu Nov 18, 2021 5:26 pm
Forum: Hardware
Topic: ESP32 with ATECC608A
Replies: 9
Views: 22687

Re: ESP32 with ATECC608A

Hello All, I have been perusing through the sample code associated with the use of the ECC608 and I see that the private key is being extracted from the device using atca_mbedtls_pk_init() in order to complete the initialization of the tlsDataParams structure. It appears the mbedTLS implementation h...
by berlinetta
Thu Jul 30, 2020 3:44 am
Forum: ESP-IDF
Topic: WDT Timeout on Core 0
Replies: 11
Views: 11496

Re: WDT Timeout on Core 0

I was able to capture some good information with my instrumented code... I determined that the httpd_resp_send_chunk() call from the esp_http_server appears to be the culprit. This call is normally executed within milliseconds, however, it was occasionally taking much longer to execute as I attempt ...