Hi,
I have a question about the sample sequencer.
I am concerned about the sequence.
If I set an END flag after each sequence, does this mean that only ONE trigger performs ONE sequence.
And only a REPEATED trigger the next sequence?
As an example below the code.
The trigger must fire four times so that 4 samples are stored?
And only then an interrupt comes e.g. for the uDMA to transport these 4 samples from the FIFO into the SRAM.
And so on.
MAP_ADCSequenceConfigure(ADC0_BASE, 0, ADC_TRIGGER_TIMER, 0); MAP_ADCSequenceStepConfigure(ADC0_BASE, 0, 0, ADC_CTL_CH5 | ADC_CTL_END); MAP_ADCSequenceStepConfigure(ADC0_BASE, 0, 1, ADC_CTL_CH5 | ADC_CTL_END); MAP_ADCSequenceStepConfigure(ADC0_BASE, 0, 2, ADC_CTL_CH5 | ADC_CTL_END); MAP_ADCSequenceStepConfigure(ADC0_BASE, 0, 3, ADC_CTL_CH5 | ADC_CTL_IE) | ADC_CTL_END); MAP_ADCSequenceStepConfigure(ADC0_BASE, 0, 4, ADC_CTL_CH5 | ADC_CTL_END); MAP_ADCSequenceStepConfigure(ADC0_BASE, 0, 5, ADC_CTL_CH5 | ADC_CTL_END); MAP_ADCSequenceStepConfigure(ADC0_BASE, 0, 6, ADC_CTL_CH5 | ADC_CTL_END); MAP_ADCSequenceStepConfigure(ADC0_BASE, 0, 7, ADC_CTL_CH5 | ADC_CTL_IE | ADC_CTL_END);