i use ADC with DMA linked to other DMA that control MUX.
the Multiplexer use to connect 16 input to the ADC.
when i use it not work:
const edma_channel_Preemption_config_t ADC_preemption_config = {
.enableChannelPreemption = false,
.enablePreemptAbility = true,
.channelPriority = 15U
};
const edma_channel_Preemption_config_t Channel_preemption_config = {
.enableChannelPreemption = false,
.enablePreemptAbility = true,
.channelPriority = 14U
};
channel = EDMA_SetChannelPreemptionConfig(DMA0, 0, &ADC_preemption_config);
Linked channel = EDMA_SetChannelPreemptionConfig(DMA0, 4, &Channel_preemption_config);
can i set DMA priority when configure as scatter gatter mode?
advice