Hello;
In our design we want to inferface an ADC with my Beaglebone and then send the information through UART. We are using McASP0 with EDMA, so we have used and slightly modified the mcaspPlayBk example in StarterWare, because in the NON-DMA version the speed and frequency were not high enought for our requirements.
We acquire eight McAsp SLOTs and we would like to do some internal processing every end of frame, which will take around 300 nanoseconds. So, we want to trigger an event at the end of every eight slots (one frame). First, we have tried to set an interrupt in the McASP routines with MCASP_RX_LASTSLOT, but it ceases to work the reception routine.
Trying to access to the EDMA ISR does not work either. Any code included in the EDMA3CCComplIsr function works only one among many times it enters. For example, a simple counter that increases in every access does not work.
How can we trigger an event at the end of every frame? How can we access to the EDMA ISR subroutine? How can we include code at the end of the last slot? Any help? Thanks!