Hi ti,
I am part of a team of undergrad computer engineering students working on a senior design project. Our project is to make a device that will shift the pitch of an incoming audio signal in real time. We are using the TMS320C6748/LCDK6748 development board as our platform. Using the McASP demo code provided in the Starterware package, we have a streaming audio demo that sends the input audio signal to output.
We're looking for help accessing the actual sample data in order to manipulate it with the functions we've written. Starterware takes the incoming sample data and stores it in an Rx buffer. That buffer is then copied to a Tx buffer that is sent to the audio codec/DAC for reconstruction. We need to extract the sample data from the Rx buffer data structure and manipulate it before memcopy transfers it to the Tx buffer
Starterware uses macros for all of the McASP functions, so I haven't been able to trace the code back to the point at which the buffer is actually loaded. I've been able to follow it as far as these two lines:
/* Activate the state machines */
McASPRxEnable(SOC_MCASP_0_CTRL_REGS);
McASPTxEnable(SOC_MCASP_0_CTRL_REGS);
How can I get at this data?