Hi,
I need to use one ESP32-WROOM-32 to decode an OOK radio signal with minimum pulse of 250us and idle time of 10ms. When there isn't radio signal the receiver has a very noisy output and so I need to filter small pulses but the maximum interval I can set using APB_CLK is 255 * 1/APB_CLK and it is too short. So I need to use REF_CLK as clock. I've forced RMT_REF_ALWAYS_ON_CH to 0 but the ring buffer doesn't return any data while using APB_CLK it works.
To test it I started from SDK ir_protocols example.
Many thanks
ESP32-WROOM-32 - Use RMT with REF_TICK
Re: ESP32-WROOM-32 - Use RMT with REF_TICK
I think the pulse filter clock is only APB_CLK so I used pwm peripheral and this works for me.
Who is online
Users browsing this forum: vritzka and 99 guests