Now we use MPC5745R for our applications. I have configured the TPU channel A8 for a QOM function which is used to trigger the BCTU for AD conversions with the following code:
I also enabled the trigger interrupt and in the service routine a pin PA7 state was set to high firstly and finally back to low.
BCTU.MSR.B.TRGF_CLR=1; /*clear TRGF*/
I recorded the pin states as following (purple one is TPUA_8, blue one is the PA7).
It is obviously there is only one rising edge but the BCTU is triggered several times.
It seems that the trigger signal is not cleared?
So why? Which signal or which TPU flag triggers the BCTU?
Thank you very much.