RMT with buffer on DMA
Posted: Sat Jan 04, 2025 12:55 pm
Hello everyone,
I am using the RMT driver to send a series of bits to some RGB leds, specifically I should use a buffer greater than 2046 blocks and enable the loop_count = -1 configuration so that the driver can delegate the management of the leds and completely free up the cpu.
I put the flag with_dma = true but I always get the error E (685) rmt: rmt_new_tx_channel(252): mem_block_symbols can't exceed 2046.
mem_block_symbols I put as parameter > 2046 that is the blocks I actually need.
How can I get this to work?
When with_dma is to true how should one behave in order for the system to work properly?
Thanks
I am using the RMT driver to send a series of bits to some RGB leds, specifically I should use a buffer greater than 2046 blocks and enable the loop_count = -1 configuration so that the driver can delegate the management of the leds and completely free up the cpu.
I put the flag with_dma = true but I always get the error E (685) rmt: rmt_new_tx_channel(252): mem_block_symbols can't exceed 2046.
mem_block_symbols I put as parameter > 2046 that is the blocks I actually need.
How can I get this to work?
When with_dma is to true how should one behave in order for the system to work properly?
Thanks