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.
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,
Hi @VaneB ,
1. I read from the ADC (AN12217) document.
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_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.
Take a look at these examples using ADC, PDB, and DMA. They will be useful to you.
Example S32K144 PDB ADC trigger DMA ISR S32DS