I've been struggling with the decimation filter on the MPC5746R.
I have been using the Reference Manual, AN4209 and the MPC5676R example posted a few days ago by David Tosenovjan
Is there any working example code for a standalone application ? (i.e. polled, not interrupt or DMA.)
Are there any more training materials?
What I got particularly stuck on is the behaviour of the status register and bits IDF, IBIF, ODF, OBIF. I'm still unclear from the RM which ones I should be checking. I _was_ trying to use IBIF and OBIF but they are rarely set. Now I check and clear both pairs and FINALLY got some data to go in and out of the filter. What is correct usage of these bits?