Wiki

This version is outdated by a newer approved version.DiffThis version (26 Sep 2018 20:48) is a draft.
Approvals: 0/1
The Previously approved version (24 Sep 2018 21:22) is available.Diff

This is an old revision of the document!


Bare Metal Project Wizard

The SHARC Audio Module Bare Metal Project wizard allows you to create a new project configuration for your SHARC Audio Module.

To begin, open the wizard by selecting File → New → SHARC Audio Module Bare Metal Project from the pull-down menu. The General Project Information page will appear. This is where a name is given to the new project. Then click Next.

General Project Information Page

Now the Expansion Fin Selection page will appear. Here is where you can select any expansion Fins connected to your SHARC Audio Module through the expansion interface on the bottom of the board. Then click Next.

Expansion Fin Selection Page

Next the A2B Module Selection page will appear. Select the A2B module that you have connected to your SHARC Audio Module through the A2B bus. Once the A2B module is selected, 1 A2B configuration should be chosen so that audio can be transmitted and received properly over the A2B bus. Then click Next.

If multiple A2B modules are connected users should review Using pre-configured topology files in the baremetal framework since the wizard is only meant for simple A2B configurations.

A2B Module Selection Page

If an Audio Project Fin is present, the Faust Support window will appear. If using Faust within this particular example select whether Faust will be running on 1 or both SHARC cores.

Faust Support Page

The Audio Parameters page will appear allowing the configuring of certain audio parameters. Here the audio block size and sample rate can be selected as well as if audio processing with use both SHARC cores, and then click Finish.

Audio Parameters Page

  • Audio block size - A smaller audio block size will reduce the audio latency through the framework but it also slightly decreases the processing efficiency. A larger block size, on the other hand increases the audio latency while also increasing processing efficiency. Generally, a block size of 16 or 32 is a good compromise.
  • Audio sample rate - The audio sample rate is number of audio samples present in a second of audio. As sample rate increases so too does the maximum frequency we can capture (Nyquests theorem). However, higher sample rates also reduce the number of processor cycles available to process each sample. Generally, a sample rate of 44.1kHz or 48kHz is a good compromise.
  • Use both cores to process audio - The framework can use either one core or both cores to process audio. When using both cores, audio is first processed on core 1 and then it is passed to core 2. Using both cores effectively doubles the amount of processing power available. However, it also increases the audio latency. There's a good discussion on the wiki about the different latencies in single core and dual core mode.

The new project will be created for all 3 cores of the ADSP-SC589 processor within CrossCore Embedded Studio. Return to the Main SHARC Audio Module page and go to the Configuring CCES for Development section.


Navigation - SHARC Audio Module

resources/tools-software/sharc-audio-module/baremetal/project-wizard.1537987716.txt.gz · Last modified: 26 Sep 2018 20:48 by Chad Wentworth