Many IR receivers on a single ESP32 using RMT?

User avatar
ok-home
Posts: 98
Joined: Sun May 02, 2021 7:23 pm
Location: Russia Novosibirsk
Contact:

Re: Many IR receivers on a single ESP32 using RMT?

Postby ok-home » Wed Dec 04, 2024 1:07 pm

For the 16 gpio in parallel in dma mode: can we go above 56Khz? what would be the maximum khz?
it depends on your algorithms - how fast you process
16 i2s/dma channels - will take data down to 40 mhz. minimum 2 samples per bit -- 20 mhz, but you won't have time to process this stream

michcfr
Posts: 40
Joined: Mon Jan 29, 2018 5:55 pm

Re: Many IR receivers on a single ESP32 using RMT?

Postby michcfr » Wed Dec 04, 2024 1:43 pm

ok-home wrote:
Wed Dec 04, 2024 1:07 pm
For the 16 gpio in parallel in dma mode: can we go above 56Khz? what would be the maximum khz?
it depends on your algorithms - how fast you process
16 i2s/dma channels - will take data down to 40 mhz. minimum 2 samples per bit -- 20 mhz, but you won't have time to process this stream
So finally it can work for 16 I2S/DMA channels for simultaneous 15Mhz per IR receiver?
The processing can be done by the other Core while the first is dedicated to the sampling
Does it makes sense?

User avatar
ok-home
Posts: 98
Joined: Sun May 02, 2021 7:23 pm
Location: Russia Novosibirsk
Contact:

Re: Many IR receivers on a single ESP32 using RMT?

Postby ok-home » Wed Dec 04, 2024 2:13 pm

I do not have an answer to this question, you can try,
take the data and see the time of their processing
parallel capture of 16 channels
https://github.com/ok-home/logic_analyzer
if necessary ring buffer and continuous flow is made

Who is online

Users browsing this forum: Google [Bot] and 116 guests