Hello Community,
Can anyone explain the Pdb period. I read from some examples but I didn't understand that. I am attaching the example ss for your reference.
1.
2.
Consider I want to set the PDB period to 1 milli second / 1 micro second then what are the configuration I have to make in PDB module.
Thanks in advance,
Sarwath
Hi @VaneB ,
1. I read from the ADC (AN12217) document.
2. S32K144_PDB_ADC_DMA_sdk_rtm_300
In my project I have to sense the analog signal. To do that I am using both ADC0 and ADC1 and to trigger the ADC I am using the PDB.
By using below instruction I am setting the MOD value and Delay value.
PDB_DRV_SetTimerModulusValue(INST_PDB1,2000);
PDB_DRV_SetAdcPreTriggerDelayValue(INST_PDB1,0 ,0 ,180);
Consider If I want to read the ADC result at every 1ms, then how to configure the PDB to trigger the ADC.
BR,
Sarwath
Take a look at these examples using ADC, PDB, and DMA. They will be useful to you.