hello @Robin_Shen
thanks , i tested your attached code, it works,
how to calculate this delay time , is it depend the channel sample time?
PDB_DRV_SetAdcPreTriggerDelayValue(PDB_INSTANCE, 0UL, 0UL,
(uint32_t) delayValue/8);//delayValue);
PDB_DRV_SetAdcPreTriggerDelayValue(PDB_INSTANCE, 0UL, 1UL,//1UL, 1UL,
(uint32_t) delayValue/2);
and also i follow your link to creat back to back project without DMA,
first it can works serval times, then can't enter the irq, please help to check it, whether some parameter setting wrong ? thanks a lot for your help!
ch=0,adcValue=3.770752
ch=1,adcValue=1.954346
ch=2,adcValue=1.837158
ch=3,adcValue=1.690674
ch=4,adcValue=1.649170
ch=5,adcValue=1.630859
ch=6,adcValue=1.741943
ch=7,adcValue=1.721191
ch=8,adcValue=1.662598
test_adc
ch=0,adcValue=3.767090
ch=1,adcValue=2.634277
ch=2,adcValue=1.936035
ch=3,adcValue=1.690674
ch=4,adcValue=1.649170
ch=5,adcValue=1.630859
ch=6,adcValue=1.741943
ch=7,adcValue=1.721191
ch=8,adcValue=1.662598
test_adc
test_adc
test_adc
test_adc
test_adc
test_adc
test_adc
test_adc