I'm wondering if anyone out there can answer a fairly low-level question about the RMT device (in TX mode):
I have the hardware/software set up to generate an interrupt after a certain number of RMT items have been sent. In the interrupt handler, I refill the RMT memory buffer with the next sequence of items. My question is how and when does the RMT device know to continue processing the items after the interrupt is invoked? Does it wait until the interrupt handler returns (and how does that work)? Or does it just continue sending items even as the interrupt handler runs?
Thanks to all the amazing experts on this forum!
Another technical question about controlling the RMT device
Re: Another technical question about controlling the RMT device
Or does it just continue sending items even as the interrupt handler runs?
Yes
Yes
Re: Another technical question about controlling the RMT device
Ok, so if the interrupt handler is refilling the buffer it needs to do it very quickly or there could be a race condition between the software writing RMT values and the hardware reading them.
Do you have a reference for this information? I'd like to be able to read more.
Thanks!
Do you have a reference for this information? I'd like to be able to read more.
Thanks!
Re: Another technical question about controlling the RMT device
Never mind. I reread the hardware spec, and now I think I understand.
Who is online
Users browsing this forum: doragasu, Google [Bot] and 85 guests