I'm trying to configure DMA for ADC using Peripheral tools but there is no option for config. I've used ADC Example code Peripherals settings but I'm not getting expected result.
1) How can I config below function using Peripheral tools or it can be config manually only?
INPUTMUX_Init(INPUTMUX);
INPUTMUX_AttachSignal(INPUTMUX, _DMA_ADC_CHANNEL, _Adc0SeqaIrqToDma);
2) There is no option in Peripheral tools to config DMA Descriptor, what should I do to config this functions manually?
DMA_SetupDescriptor(&(s_dma_table[0]), g_XferConfig, (void *)_ADC_DATA_REG_ADD, (void *)&g_AdcConvResult, (dma_descriptor_t *)&(s_dma_table[1]));
DMA_SetupDescriptor(&(s_dma_table[1]), g_XferConfig, (void *)_ADC_DATA_REG_ADD, (void *)&g_AdcConvResult, (dma_descriptor_t *)&(s_dma_table[0]));
Waiting for Reply
Hello emb02 j
I apologize for my late reply.
* desc: DMA descriptor address.
* xfercfg: Transfer configuration for DMA descriptor.
* srcStartAddr: Start address of source address.
* dstStartAddr: Start address of destination address.
* nextDesc: Address of next descriptor in chain.
Let me know if this is helpful, if you have more questions do not hesitate to ask me.
Best regards,
Omar