Hello. I apologize in advance for my English. The whole week scratching their heads over how to use DMA, do no harm Z-Stack (сс2530 Z-Stack HA v 1.2.0).
Register in preprocessor HAL_DMA = 0 I get a bunch of errors.
I'm using 3 channel ADC with which to read the data on the structure of the DMA.
Separately from Z-Stack (cc2530 only registers) this work, but together - no work.
The detailed analysis of the Z-stack, I realized that it uses:
DMA 0 channel from flash (and this does not change, because it will break OSAL NV)
DMA 1, 2 channel from AES
DMA 3, 4 channel from Radio Rx Tx
How do I solve this problem, to use freely 3 channels DMA, Do No Harm Z-Stack?
Thank you in advance...