Environment setup for demo application - microdaq/MdaqDSPLibrary GitHub Wiki

In order to develop and utilize DSP applications on MicroDAQ devices, it is necessary to install Code Composer Studio IDE with SDK for MicroDAQ DSP processor. In order to load DSP binary from host to target Python script will be used.

Files to download

Setup Python support package

MicroDAQ Python support package allows access to MicroDAQ resources. It allows loading DSP binary from the host to the target.

Install MicroDAQ Python support package v1.4 according to instruction: https://pypi.org/project/microdaq/

Setup Code Composer Studio IDE:

  1. Install PROCESSOR-SDK-RTOS-AM57X - recommended directory is the one which is provided by TI installer e.g c:\ti\
  2. Install Code Composer Studio with support for AM57x family (can be selected in install wizard) Sitara Familly Support
  3. Start Code Composer Studio - software shall discover installed processor SDK - select all and confirm

If SDK Products(software packages from SDK) are not discovered by Code Composer Studio (CCS) use the following instruction to install products: https://software-dl.ti.com/ccs/esd/documents/ccs_product-installation-selection.html Install Products

  1. Repleace SDK_Install_Directory/am57xx-evm-rtos-sdk-src-06.03.02.08/ipc_3_50_04_08/packages/ti/ipc/remoteproc/rsc_table_vayu_dsp.h file with file from ipc_remoteproc directory.
  2. Import mdaq_demo project to Code Composer Studio from GIT with Project -> Import CCS Projects
  3. Edit dsp_load.py script(which is part of mdaq_demo project) if you use different IP or you will change the name of the project (OPTIONAL)
  4. Check if you can communicate with the MicroDAQ device by using system ping command
  5. Build the project with Project -> Build Project

The first build can take few minutes because RTOS needs to be compiled. After linking the dsp_load.py script will be executed. Please keep in mind that python3 command should be available to run the script.

  1. Open MicroDAQ web panel in web browser by entering MicroDAQ IP address in the browser address and check under DSP Logs if DSP application started. The System_printf C function output can be visible in DSP.

Code Composer Studio User’s Guide

For more details about Code Composer Studio visit https://software-dl.ti.com/ccs/esd/documents/users_guide/index.html