3 ms·
> one set of DMA operations can program and trigger another channel. I once worked around a very unfortunate hardware shortcoming in a DMA engine by doing exac
by Unklejoe 6y ago
> one set of DMA operations can program and trigger another channel.
I once worked around a very unfortunate hardware shortcoming in a DMA engine by doing exactly this. Each channel supported a list of descriptors, so I used the last descriptor to actually perform DMA operations on the configuration registers of the other channel.
The possibilities are endless with this kinda stuff
- stinos 6y agoThe possibilities are endless So is the time wasted when there are bugs in the docs :P Don't remember the exact chip, but it was on the first job I had and it took me weeks to find out why the thing didn't want to do what I told it to. Turned out some names of registers were swapped in the docs. But indeed, once I figured that out, it was really nice to work with and things like interleaving data from multiple ADCs just worked with basically no CPU interaction.