Search found 32 matches
- Sun Oct 13, 2024 5:16 pm
- Forum: ESP-IDF
- Topic: esp32-s3 polling for SPI transfer done
- Replies: 4
- Views: 911
Re: esp32-s3 polling for SPI transfer done
Only SPI. I don't want to pause DMA, it should do the transfer when requested, but not generate interrupt on completion. The thing is I'm using LCD interrupts as well, and I don't know how to change interrupt priorities of any of them, so I guess that increasing priority of LCD interrupt would also ...
- Sun Oct 13, 2024 2:41 am
- Forum: ESP-IDF
- Topic: esp32-s3 polling for SPI transfer done
- Replies: 4
- Views: 911
Re: esp32-s3 polling for SPI transfer done
Thank you for your reply. The thing is that I don't want interrupt on any of the cores. I was hoping that it's possible to check if there is a flag indicating that SPI message is received. Then I would clear the "flag", process the received message and initiate another SPI transfer manually.
- Sat Oct 12, 2024 7:27 pm
- Forum: ESP-IDF
- Topic: esp32-s3 polling for SPI transfer done
- Replies: 4
- Views: 911
esp32-s3 polling for SPI transfer done
At the moment I'm initializing SPI slave to use a callback function when SPI transfer is finished and it works fine, except for the fact that it sometimes occurres in inconvenient times. Because of that, I would prefer to check myself if the transfer is finished and then do the appropriate tasks. My...
- Tue Oct 01, 2024 11:45 am
- Forum: ESP-IDF
- Topic: Need more timers on ESP32-S3
- Replies: 5
- Views: 1352
Re: Need more timers on ESP32-S3
Thanks for your reply.
I would prefer to have a hardware timer, but if nobody offers a different solution, I'll have to use them.
I would prefer to have a hardware timer, but if nobody offers a different solution, I'll have to use them.
- Tue Oct 01, 2024 3:15 am
- Forum: ESP-IDF
- Topic: Need more timers on ESP32-S3
- Replies: 5
- Views: 1352
Need more timers on ESP32-S3
I used all 4 timers on my ESP32-S3 project and I found out I'll need some more. I previously worked on some other MCU that had a similar number of timers, but had a MCP module that had it's own timers that were available. I can see that ESP32-S3 also has MCPWM module with timers so I was wondering i...
- Fri May 24, 2024 12:08 pm
- Forum: ESP-IDF
- Topic: Can't get quad SPI work on the slave side, ESP32-S3
- Replies: 0
- Views: 694
Can't get quad SPI work on the slave side, ESP32-S3
I have two ESP32-S3s connected to each other and I'm trying to send data from one to the other. I have verified with the oscilloscope that the master side is sending the data correctly on all four data lines and SCK/CS. After that I configured the slave like this: typedef struct SPI_settings_s{ spi_...
- Mon Mar 25, 2024 8:31 pm
- Forum: ESP-IDF
- Topic: SPI signal @16MHz looks terrible
- Replies: 6
- Views: 2021
Re: SPI signal @16MHz looks terrible
I was hoping for 40Mhz, so yes, 16MHz is a bare minimum.
- Mon Mar 25, 2024 1:42 pm
- Forum: ESP-IDF
- Topic: SPI signal @16MHz looks terrible
- Replies: 6
- Views: 2021
Re: SPI signal @16MHz looks terrible
It's ok, found it, gpio_set_drive_capability. It helped a bit.
- Mon Mar 25, 2024 12:21 pm
- Forum: ESP-IDF
- Topic: SPI signal @16MHz looks terrible
- Replies: 6
- Views: 2021
Re: SPI signal @16MHz looks terrible
How can I do that?
- Mon Mar 25, 2024 8:42 am
- Forum: ESP-IDF
- Topic: SPI signal @16MHz looks terrible
- Replies: 6
- Views: 2021
Re: SPI signal @16MHz looks terrible
OK, I've shortened the length of wires by half and now it looks better. Still far from perfect, but I guess it will be fine when all components are on one PCB.
If anybody have any suggestions on still improving the signal, it would be much appreciated.
If anybody have any suggestions on still improving the signal, it would be much appreciated.