i used pdb to ty ad ping-pong sampling but not ok, someone use PE to test Ad ping-pong ok ? can you give me a example used PE,i
Hi, the S32 SDK contains examples including PDB triggering of adc. One such example is under examples\S32K144\driver_examples\analog\adc_hwtrigger
i use this example but only can sample one AD channel ,i did not know where is wrong could you help me looking thank you job
Seems that are a few issues with PDB configuration in the application:
- for the first PDB pretrigger (channel 0, pretrigger 0) should not have Back to Back enabled (preTriggerBackToBackEnable should be false in pdly1_AdcTrigInitConfig0).
- there is only one PDB pretrigger configured. There should be as many PDB pretriggers configures as ADC control channels (in this case, 2)
- configuring PDB modulus and pretrigger delay is not necessary for Back to Back operation.
I will follow up with an updated application if needed.
ok,could you give me a updated application, first using pdb,i not very clear at this ,thank you
I have updated your code a bit.
You had ADC set to continuous conversion and pdb channel 0 set to back to back.
Please tell me if this fixes your problem.
Retrieving data ...