Search found 17 matches

by wjxway
Fri Jan 24, 2025 8:03 pm
Forum: General Discussion
Topic: Long SPI transfer with data from FLASH
Replies: 3
Views: 1521


Two things come to mind:
a) You can memory-map a partition from flash memory and then treat it as one big read-only byte array.
b) Not sure what "needs to be transmitted in a single transmission without interruption" means exactly in this case, but you can of course generate the SPI-SS signal from ...
by wjxway
Fri Jan 24, 2025 9:05 am
Forum: General Discussion
Topic: Long SPI transfer with data from FLASH
Replies: 3
Views: 1521

Long SPI transfer with data from FLASH

I'm trying to use Lattice FPGA (ICE40HX8K) as peripheral to ESP32-S3 in my project, and the FPGA needs to be programmed through SPI every time at boot.

The most convenient way to program the FPGA seems to be using SPI slave configuration, where ESP32 is connected to the FPGA through SPI and ...
by wjxway
Thu Oct 10, 2024 2:50 am
Forum: Hardware
Topic: How to use high priority interrupts
Replies: 3
Views: 8657

Re: How to use high priority interrupts

Same problem, timer interrupt will fail to fire in time when ESP-NOW is active, any solutions?
by wjxway
Wed Apr 03, 2024 8:23 am
Forum: General Discussion
Topic: new rmt driver and ir_nec_transceiver examples not generating proper NEC signals
Replies: 1
Views: 1749

Re: new rmt driver and ir_nec_transceiver examples not generating proper NEC signals

I agree that a simple 'send' option should be added, together with simple ways of registering one's own interrupts.
A lot of times it's much simpler and faster for the user to directly generate rmt_item32_t instead of writing a encoder. Not to mention registering custom interrupts could be much more ...
by wjxway
Wed Mar 13, 2024 7:35 am
Forum: ESP32 Arduino
Topic: [HELP] RMT single wire bidirectional communication (dshot telemetry)
Replies: 16
Views: 21030

Re: [HELP] RMT single wire bidirectional communication (dshot telemetry)

Hi! I'm also faced with the issue of using bi-directional Dshot on esp32, is it possible at all? Thanks!
by wjxway
Wed Aug 12, 2020 8:03 am
Forum: General Discussion
Topic: Reduce time between two consecutive SPI transfers
Replies: 16
Views: 16634

Re: Reduce time between two consecutive SPI transfers


Maybe your ISR is being mugged by another ISR? Working out of IRAM/cache will also hurt.
I have seen similar with big 2mS hits on I2C transactions to the extant that someone starting producing I2C corruptions. My guess was that Ethernet caused the ISR/bus block but not sure if device or ESP caused ...
by wjxway
Wed Aug 12, 2020 7:57 am
Forum: General Discussion
Topic: Reduce time between two consecutive SPI transfers
Replies: 16
Views: 16634

Re: Reduce time between two consecutive SPI transfers


Maybe your ISR is being mugged by another ISR? Working out of IRAM/cache will also hurt.
I have seen similar with big 2mS hits on I2C transactions to the extant that someone starting producing I2C corruptions. My guess was that Ethernet caused the ISR/bus block but not sure if device or ESP caused ...
by wjxway
Tue Aug 11, 2020 4:30 pm
Forum: General Discussion
Topic: Reduce time between two consecutive SPI transfers
Replies: 16
Views: 16634

Re: Reduce time between two consecutive SPI transfers

@ESP_Sprite Thanks for your reply, now the polarity is correct and ready to go. There's just one issue left regarding timing.

I'm transferring nine 16bits data at a time, and I would like it to happen immediately after I execute the code (or after a fixed, short time delay). If no data is feed in ...
by wjxway
Mon Aug 10, 2020 3:50 pm
Forum: General Discussion
Topic: Reduce time between two consecutive SPI transfers
Replies: 16
Views: 16634

Re: Reduce time between two consecutive SPI transfers

Whooo, I have managed to get it working at BCK@40MHz, that is 1.25M@16bits transfers/sec!
That is when I'm using a DAC with SPI interface, if someone is using a DAC with I2S interface, the number could ramp up to 2.5M@16bits transfers/sec!

The trick is just as described in https://esp32.com ...

Go to advanced search