Hello, everyone,
I need to use a DMA channel on a CC2541, but I do not know what channels are already in use by either the BT stack or the reference application.
I intend to start with the SimplePeripheral project and add my own code which will make use of a spare DMA channel.
My questions:
- what DMA channels are available for use?
- what channels are already allocated to either the BT stack or the SimplePeripheral app?
- how do I configure an idle DMA channel if, say, channels 1 and 2 are used and I would like to use channel 3?
- since channels 1-4 are setup together, how do I configure channel 3 after channels 1 and 2 have already been configured? Can I simply define my DMA structure and do a DMAARM = DMA_CHANNEL_3 assignment?
I looked over the Samples Guide but did not find answers to these questions.
Thanks,
Julio