Search found 6 matches

by stefan.nagel
Tue Nov 14, 2023 3:04 pm
Forum: Report Bugs
Topic: SPI Master fails to read MISO correctly on Mode 3
Replies: 0
Views: 30672

SPI Master fails to read MISO correctly on Mode 3

We might posted that: https://www.esp32.com/viewtopic.php?p=123324#p123324 under the wrong forum ... I guess this is the better place The problem is, that ESP32-S3 samples the MISO line in MODE 3 on the falling edge, not on the rising edge as it is defined and documented. We are right now not sure i...
by stefan.nagel
Tue Nov 14, 2023 9:28 am
Forum: General Discussion
Topic: SPI Master fails to read MISO correctly on Mode 3
Replies: 12
Views: 15997

Re: SPI Master fails to read MISO correctly on Mode 3

Any reaction here from Espressif team?
by stefan.nagel
Fri Nov 10, 2023 1:27 pm
Forum: ESP-IDF
Topic: Setting SPI register SPI_DIN_MODE_REG and SPI_DIN_NUM_REG is not possible
Replies: 0
Views: 709

Setting SPI register SPI_DIN_MODE_REG and SPI_DIN_NUM_REG is not possible

In my code I would like to set the register to delay the MISO line on SPI3. Therefore I use the following code: uint32_t test_mode = 0x00000001; uint32_t test_num = 0x00000001; uint32_t volatile * const p_din_mode_reg = (uint32_t *) 0x60025024; *p_din_mode_reg = test_mode; uint32_t volatile * const ...
by stefan.nagel
Thu Nov 09, 2023 12:47 pm
Forum: General Discussion
Topic: SPI Master fails to read MISO correctly on Mode 3
Replies: 12
Views: 15997

SPI Master fails to read MISO correctly on Mode 3

Dear community, We are facing major issues in the communication between a MODE 3 SPI slave and an ESP32-S3. Please checkout here the following thread: https://github.com/espressif/esp-idf/issues/7825 Here it is stated that the change on the MISO line must be AFTER the falling edge of the CLK. If the...
by stefan.nagel
Mon Jul 17, 2023 3:21 pm
Forum: ESP-IDF
Topic: FreeRTOS ticks vs System ticks
Replies: 2
Views: 4806

Re: FreeRTOS ticks vs System ticks

The key difference here is that the tick count is continuously increasing in the background, regardless of whether any log message is being printed or not. The logging mechanism, on the other hand, might have some internal buffering or other processing delays before actually printing the log messag...
by stefan.nagel
Fri Jul 14, 2023 7:32 am
Forum: ESP-IDF
Topic: FreeRTOS ticks vs System ticks
Replies: 2
Views: 4806

FreeRTOS ticks vs System ticks

Dear community, I seem to lack some understanding of the ticks in an ESP system with FreeRTOS integrated. I created a task in FreeRTOS and in that task I call the following code as an test-example: xLastWakeTime = xTaskGetTickCount(); while(counter < 10) { if(gpio_state != 0) { gpio_state = 0; } els...