Hello,
Thank you for reporting of this issue. It is a problem in the Pins tool. In your case you can remove the initialization of the DMAMUX channel from the Pins tool (pins_mux.c file contains initialization code from the Pins tool only) and you can directly use the initialization code of the DMA component (initialization code is generated in the peripherals.c file). This generated code of the DMA_1 component also contains the initialization of the DMAMUX channel, see the following code of the DMA_1_init(void) function:
/* Channel ADC initialization */
/* Set the source kDmaRequestMux0ADC0 request in the DMAMUX */
DMAMUX_SetSource(DMA_1_DMAMUX_BASEADDR, DMA_1_ADC_DMA_CHANNEL, DMA_1_ADC_DMA_REQUEST);
/* Enable the 0 channel in the DMAMUX */
DMAMUX_EnableChannel(DMA_1_DMAMUX_BASEADDR, DMA_1_ADC_DMA_CHANNEL);
/* Create the DMA DMA_1_ADC_Handle handle */
DMA_CreateHandle(&DMA_1_ADC_Handle, DMA_1_DMA_BASEADDR, DMA_1_ADC_DMA_CHANNEL);
DMA_SetCallback(&DMA_1_ADC_Handle, transferDMA_CH0, NULL);
DMA_EnableCycleSteal(DMA_1_DMA_BASEADDR, DMA_1_ADC_DMA_CHANNEL, false);
DMA_EnableAutoAlign(DMA_1_DMA_BASEADDR, DMA_1_ADC_DMA_CHANNEL, false);
DMA_EnableAsyncRequest(DMA_1_DMA_BASEADDR, DMA_1_ADC_DMA_CHANNEL, false);
Best Regards,
Marek Neuzil