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.

AM57x DSP interfacing McASP directly

Customer would like to use the McASP to receive data, and  would like to process it using DSP. The default method is to use Linux’s MCASP driver to receive it, and pass on the data to the DSP using IPC. In order to reduce latency, they would like to have the McASP driver directly in DSP to process the data first hand, and only after send to Linux. Is there an example of how to setup and control the McASP directly in the DSP core? Customer using Linux PSDK v3.0

  • The AM57x team have been notified. They will respond here.
  • I've worked through similar issues with customers. A couple key pieces:

    1. You'll need Proc SDK RTOS as the main software for the DSP side. It includes audio examples and McASP drivers among many other things. Note however that Proc SDK RTOS is tested in a "pure RTOS" environment, i.e. no Linux.

    2. Starting with Proc SDK Linux 3.01, there's been a new build rule added to the top-level makefile to assist in interacting with Proc SDK RTOS. There's a ti-ipc-linux target now that can be built. There are a couple related variables that you'll see referenced in the makefile that need to be assigned properly in the Rules.make file.

    For starters, I recommend trying to work in an RTOS-only environment to get the audio up and running. I strongly suggest doing each of these items individually for starters, and then work on combining them.
  • This wiki page was developed to help address this type of question:

    http://processors.wiki.ti.com/index.php/Linux_IPC_on_AM57xx

    There is a section to devoted to adding IPC to an existing TI-RTOS application.  There is also extensive detail regarding the memory map.