How To Implement MCASP AFIFO?

Hello, I’m currently implementing mcasp on PRU to communicate with ADS1274. I have a problem reading TDM data from ADS1274. RSTAT is always 0. I want to use AFIFO but don’t understand how to set it. Anyone here knows how to set up afifo?
Thank you.

Regards,
Bayu Eko

It’s been a while since I’ve done anything with McASP baremetal, but I don’t recall the use of the FIFO making any substantial difference in how to use McASP. Having said that, if you’re going to receive the data using PRU then I don’t see why you’d need the FIFO in the first place, PRU should have no trouble handling the data in real time.