I have a design using a C6713B that uses the AFSR1 (HHWIL) pin in GPIO mode. All of the other McASP1 pins are used in GPIO mode as well. ACLKR1 is used as a control output that rarely changes.
I am trying to figure out if there is a way to generate an interrupt on the rising edge of AFSR1 in this mode. I've been reading SPRU041, but it is not obvious what I need to set up. It looks like I need to set bit 3 in AGBLCTL (RSMRST), but that seems to generate RSYNCERR in RSTAT, but not RSTAFRM. Would it be reasonable to use RSYNCERR (clearing it in ISR) be workable?