Click here to return to the QSG homepage
In addition to supporting standard platforms and custom platform, A2B plugin for SS+ provides options for configuring A2B streams in the network, allows export of bus config and Commandlist files.
The A2B Stream Configuration can be found in the “Project” view under A2B Channel in SS+ as shown in Figure 62.
Figure 62 : Navigating to Stream, Network and Export Configurations
Stream configuration is a window that enables the user the capability in
Audio stream definition tab allows user to Add, Remove, Delete Streams, Move up and Down a stream, Import and Export streams.
Figure 63 shows the Audio Stream Definition tab in stream configurations.
Figure 63 : Audio Stream Definition
Audio stream assignment tab allows user to change the stream source and stream destinations of streams in the network.
Figure 64 shows the Audio Stream Definition tab in stream configurations
Figure 64 : Audio Stream Assignment
Data Tunnel Configuration tab in Stream Configuration allows user to add, edit and delete data tunnels in the network.
Figure 65: Data Tunnel Configuration
There is one A2B channel per main-node chain and each A2B channel has one stream configuration. For instance, the schematic available at C:\Analog Devices\ADI_A2B-SSPlus_Software-Rel1.1.0\Schematics\PC\ adi_a2b_ADZS2433MINI_ADSP21569_Multi_Main.ssprj has two A2B channels and hence two stream configurations as shown in Figure 66 , Figure 67.
Figure 66: Multi-main network to stream mapping. Red is A2B Channel 0 and Green is A2B Channel 1
For a multi-main system such as the one described in this schematic, the audio sources at main nodes are outputs from the DSP and sinks are inputs to the DSP. For instance in the A2B_4 stream configuration shown in Figure 67, cyan bubble at main-node is an input to the DSP and in the A2B_5 stream configuration shown in Figure 67, the dark grey bubble at main-node is an output from the DSP.
The example schematics provided with this installer adi_a2b_ADZS2433MINI_ADSP21569_Multi_Main.ssprj and adi_a2b_ADZS2433MINI_ADSP21569_Multi_Main.ssprj have pre-defined audio input and audio output configuration for the DSP ADSP-21569. The audio-in is a TDM2 24bit datastream sampled at 48kHz for which SPORT0A of the DSP is used. The audio-out is a TDM8 32bit datastream sampled at 48kHz for which SPORT5A is used. Changing these configurations is out of scope for this quick start guide.
Figure 67: Multi-main channel to stream mapping. Red is A2B Channel 0 and sending audio to the DSP. Green is A2B channel 1 and receiving audio from the DSP.
Export settings window as shown in Figure 68 provides options to export BusConfig.c, Commandlist.h and Commandlist.xml files which can be used in Target Mode.
Figure 68 : Export Settings
In SigmaStudio Plus, one can store the network configuration information into a memory device by saving the Schematic into an EEPROM connected to ECU. This can be done by navigating to “Export Import Settings” under “Networks → A2B” as shown in Figure 62.
Also, there is a provision to export the information into an XML/ Dat file as shown in Figure 69. These files can be input to custom EEPROM programming utilities, specifically .dat file can be converted to hex/.s37 format for ease of flashing.
Figure 69: Schematic Dump as XML
To specify A2B stack running on the Target processor can load the network wide configuration from EEPROM ensure to define the macro ‘A2B_FEATURE_EEPROM_OR_FILE_PROCESSING ’ and ‘A2B_BCF_FROM_SOC_EEPROM’ and undefined ‘ADI_SIGMASTUDIO_BCF’ in ADI_A2B_Software-RelX.Y.Z\Target\examples\demo\a2b-xx\a2bstack-pal\platform\a2b\features.h.
Alternatively, network wide configuration can be sourced to target software from .dat file via the local file system.
This file stores network configuration as binary file. The order of bytes in the file is same as the format specified for “Storing Networking Configuration in EEPROM”.
Follow the following steps to use this binary file as input to A2B target software.
The advantage of binary file is that network configuration doesn’t have compile time dependency with the target software.
Figure 70: Location of Multi-main export configuration
Figure 71: Multi-main export configuration
Multi-main export configuration will export a single BCF xml and/or c file for the current multi-main network. This is feature is applicable only for multi-main networks.
Command list utility allows user to merge primary and secondary branch command list into a single command list to support branching.
Figure: Command List Merge