Hi Daniel,
Thanks for your reply. We are using an S32K142. Sadly the hardware is already definitive, and due to an oversight we have up to 11 channels on ADC0. Thus I would have liked to chain PDB0_CH0 and PDB0_CH1, but this requires PDB_BB_SEL[1] which is not available to us.
I was hoping to work around this by having the ADC trigger the DMA, which copies the results and then rewrites ADC-SC1n. The idea is that on the next INIT-trigger from the FTM, the remaining inputs are sampled.
Can you tell me if this should theoretically work? It seems like the PDB refuses to trigger ADC after writes to ADC->SC1 have occurred by the DMA. So I am doubting my strategy.
Kind regards,
Joey