Receiving more than 64 RMT Items

chrismerck
Posts: 73
Joined: Tue May 29, 2018 8:00 pm

Receiving more than 64 RMT Items

Postby chrismerck » Thu Oct 31, 2019 10:08 pm

@esp_sprite quick question:

When receiving from RMT using rmt_get_ringbuf_handle, how can we receive more than 64 rmt items?

I try allocating a *lot* of memory for the ring buffer (enough for 1000 items):

Code: Select all

    rmt_driver_install(rle->rmt_config.channel, 8000, 0);
But if I transmit more than 64 items, I always get exactly 64 items out of xRingbufferReceive.

It is as if I'm only able to take advantage of the 512x32bit RAM, or that perhaps the RMT is unable to load the ring buffer.

Do I understand correctly that test_rmt.c demonstrates how to receive DATA_ITEM_NUM * RMT_TX_DATA_NUM = 3400 items? If so, I know I can look there to see why that works but my code doesnt (?)

Who is online

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