Hi, I m working on my project with CC2530 SMART-RF 05 DTK,
In my case, Four DMA channels should be used after trigered by ADC sequence,
And here is the problem, the configuration of DMA Channels 1-4 really confuse me a lot, in the fonction "DMA_SET_ADDR_DESC1234(a)" it is
#define DMA_SET_ADDR_DESC1234(a) \
do{ \
DMA1CFGH = (BYTE)( (WORD)a >> 8 );\
DMA1CFGL = (BYTE)( (WORD)a ); \
} while(0)
and in the iocc2530.h files, I can't find the DMA2CFGH etc, it is
SFR( DMA1CFGL , 0xD2 ) /* DMA Channel 1-4 Configuration Address Low Byte */
SFR( DMA1CFGH , 0xD3 ) /* DMA Channel 1-4 Configuration Address High Byte */
SFR( DMA0CFGL , 0xD4 ) /* DMA Channel 0 Configuration Address Low Byte */
SFR( DMA0CFGH , 0xD5 ) /* DMA Channel 0 Configuration Address High Byte
there is no problem to use the DMA Channel 0 and Channel 1, but ,how to configur the DMA Channel 2,3,4??
Thank you so much,