I need to use multiple dmac channels at once on the SAMD10 but i can't find any way to assign different dmac descriptors to different dmac channels. When i select a different channel with the CHID register then the only register that changes is the CHCTRLA register and nothing else. I can't find any way to have a different BASEADDR for every dmac channel. I tried to change the BASEADDR register while one dmac channel was running, i disabled DMAENABLE in the CTRL register, wrote a different descriptor address into BASEADDR and turned on the dmac again from the CTRL register but then the dmac channel that was running before stopped working because BASEADDR changed. Am i doing something completely wrong and stupid here? I can't find problems even close to this on the internet. I hope i can get this fixed.
Joined: Mon. Dec 4, 2017
Posts: 35 View posts
Last Edited: Thu. Feb 14, 2019 - 01:50 PM