This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Is there any other code writing to RcvData? Does your code ever make inside the if statement? What does MCASP0_SentStart() do?
It sounds like there is a race condition between taking the McASP out of reset and the arrival of the external frame sync. Based on your description of the problem, it sounds like you have barely enough time to take the McASP out of reset and load the transmit registers before the external frame sync arrives. Adding "problem" code maybe adding enough delay to where you don't meet the real-time deadline of servicing the McASP. Is it possible to preload the data in the McASP before the external frame sync arrives? If not, can you use internal frame sync?