Wiki

The most recent version of this page is a draft.DiffThis version is outdated by a newer approved version.DiffThis version (24 Nov 2022 06:39) was approved by Gireesha Nirvanaiah.The Previously approved version (22 Nov 2022 13:19) is available.Diff

This is an old revision of the document!


Running the Sample Demo

Using SigmaStudio+ the A2B system can be directly controlled from a connected computer without involving a microcontroller or a DSP. This mode is helpful for quick testing of the capabilities of AD24xx without the need for a microcontroller in the system.

Note: Please refer Appendices A and B for information about navigating in SigmaStudio+ for A2B use-case. A block diagram of a 3 node A2B system with PC as Host is shown in Figure 43. The sample demo configuration is as shown in Figure 44. The audio source connected to sub-node 1 will be played out at main node. The microphone audio from sub node 0 will be played out at sub node 1.

The sample demo configuration can be run with either EVAL-AD2428WD1BZ, ADZS-21569 EZ-KIT, EVAL-AD2433WA1BZ , EVAL-AD2435WA3LZ, EVAL- AD2430WD1BZ or EVAL-AD2438WD1BZ, EVAL-AD2437A1NZ as the A2B main platform. The following sections describe the procedure for running the demo.

Refer section 3.4.3 for sample demo using EVAL- AD2430WD1BZ or EVAL-AD2438WD1BZ

Refer section 3.2.3 for sample demo using EVAL – AD2437WA1NZ and AD2437WB1NZ.

Software Setup

Setup PC software as explained in Section 2.1.1

Hardware Setup

High Power – AD243x

Hardware connections shall be done as described in Section 3.1

Jumper settings

Jumper settings (default) for EVAL-AD2435WA3LZ (Main) and EVAL-AD2435WJ3LZ (Sub 0 and Sub 1) are as shown in Table 2.

A2B Demo system

All steps mentioned in Section 3.1 shall be completed before running the demo using PC as a Host. The demo system shall look as shown in Figure 3.

AD2437

Hardware connections shall be done as described in Section 3.1

Jumper settings

Jumper settings (default) for EVAL-AD2435WA3LZ (Main) and EVAL-AD2435WJ3LZ (Sub 0 and Sub 1) are as shown in Table 2.

A2B Demo system

All steps mentioned in Section 3.1 shall be completed before running the demo using PC as a Host. The demo system shall look as shown in Figure 3

Standard Power – AD243x

Jumper settings

Jumper settings (default) for EVAL-AD2433WA1BZ (Main) and EVAL-AD2433WB1BZ (Sub 0 and Sub 1) are as shown in Table 4.

A2B Demo system

All steps mentioned in Section 3.3 shall be completed before running the demo using PC as a Host. The demo system shall look as shown in Figure 13.

Standard Power – AD2430 / AD2438

Jumper settings

Jumper settings (default) for EVAL-AD2430WD1BZ / EVAL-AD2438WD1BZ (Main) is as shown in Table 5

A2B Demo system

All steps mentioned in Section 3.4.3 shall be completed before running the demo using PC as a Host. The demo system shall look as shown in Figure 44.

Standard Power – AD242x

Jumper settings

Jumper settings (default) for EVAL-AD2428WD1BZ(Main) is as shown in Table 6.

A2B Demo system

All steps mentioned in Section 3.5.2 shall be completed before running the demo using PC as a Host. The demo system shall look as shown in Figure 45

Running sample Demo

The following steps describe the procedure to run a sample demo in PC mode

  1. Open an A2B schematic from (<A2B plugin for SigmaStudio+ installation path»\Schematics\PC).
  2. Make sure that .xml files are provided for programming SigmaDSPs (ADAU1361, ADAU1761, ADAU1452 and ADAU 1961) on main and sub A2B evaluation boards, the procedure to find the peripheral settings window is as follows:
    1. Open the platform view either by double clicking on the platform or by clicking on “Canvas” option under the platform in the Project tree as shown in Figure 46
    2. The peripheral settings can be opened by double clicking on the peripheral or by clicking on the “Settings” option under the peripheral in project tree and select the xml as shown in Figure 47
    3. Note: The adi_a2b_main_ADAU1452.xml, adi_a2b_main_ADAU1761.xml, adi_a2b_sub_ADAU1961.xml files are available in <A2B plugin for SigmaStudio+ installation path»\Schematics\PC\xml folder
  3. Make sure that USBi cable is connected to eval board as shown in Figure 24 and the board is powered on.
  4. Click on “LinkCompileDownload” icon in SigmaStudio+ as shown in Figure 48 This will start the discovery and configuration of A2B nodes and peripheral devices as per the schematic.
  5. After successful discovery and initialization audio routing can be observed as per the sample demo configuration shown in Figure 44.

Running Sample Demo Remote DSP tuning with ADAU1452

This demo uses two EVAL-AD2428WD1BZ boards. The following steps shows how to perform remote DSP tuning of the 1452 sigmaDSP on the subnode.

  1. Connect and configure the hardware without bypassing the 1452 DSP as per 3.5.2.2 , 3.5.1.1.1.1 .
  2. Connect the USBi to PC.
  3. Launch SigmaStudio 2.0.0
  4. Click on File → open project. Browse to C:\Analog Devices\ADI_A2B-SSPlus_Software-Rel1.1.0\Schematics\PC and select the file adi_a2b_AD2428WD1BZ_LPS_Custom.ssprj.
  5. Turn ON the power both the nodes and provide the audio sinks and sources
  6. Click on Action → “Link Compile Download”.
  7. The schematic will download and audio will be heard.
  8. This demo example allows remote DSP tuning of the 1452 DSP on the sub-node. This will multiplex between sine tone generator and audio source at sub-node. The difference can be heard through the audio sink at the main-node
    1. In the system tab, double-click the last sub-node platform and then double-click the ADAU1452 shape.
    2. A schematic as shown in Figure 49 will open
    3. Click on the Mux towards the left of the schematic to switch the song playing at main-node to the sine tone generator.
    4. The frequency, gain, on/off state of the sine tone generator can be changed by interacting with the “Sine Tone” block.

Running Sample Demo Multi-main

PC (Host) + ADSP-21569 SOM + SOM-CRR ez-kit

This demo uses either two ADZS-2435MINI or two ADZS-2433MINI. The following steps are applicable for both the A2B evaluation board pairs.

  1. Perform the hardware setup as per 3.6.1.1.1 , 3.6.1.1.2 , 3.6.1.2.1 , 3.7.1.1.1 , 3.7.1.1.2 , 3.7.1.2.1 . Maintain the hardware configuration for the SOM and SOM-CRR ez kit as per the recommended default configurations of their respective manuals
  2. Launch SigmaStudio+ 2.0.0
  3. Click on file → open project. Browse to C:\Analog Devices\ADI_A2B-SSPlus_Software-Rel1.1.0\Schematics\PC and select the file adi_a2b_ADZS2433MINI_ADSP21569_Multi_Main.ssprj for 2433 transceiver or adi_a2b_ADZS2435MINI_ADSP21569_Multi_Main.ssprj for 2435 transceiver.
  4. Follow the procedure given in APPENDIX H: Flashing ADSP-21569 SOM to flash the file C:\Analog Devices\ADI_A2B-SSPlus_Software-Rel1.1.0\Target\LDR\SS_App_21569_Multi_Main.ldr onto the SOM board.
  5. Turn OFF power to the SOM-CRR board and set boot-mode to 1 on the SOM.
  6. Make all the connections described in sections 3.6.2 , 3.7.2 .
  7. Connect the USB-Type A cable of USBi device to the PC.
  8. Turn ON power to the SOM-CRR and A2B Main nodes.
  9. Confirm that LEDs 8 (green) and 9 (amber) are lit on the SOM-CRR. These are just behind the A2B connector (also shown in Figure 33).
  10. Provide audio sinks and sources as per section 3.6.2.1 , 3.7.2.1 .
  11. On SS+ toolbar, click on the Action → “Link Compile Download”.
  12. The schematic will download and Audio out’s as per section 3.6.2.1 , 3.7.2.1 will be heard.
  13. Note :
    1. To re-download the schematic, the SOM-CRR must be reset by pushing the reset button.
    2. If the message “Target execution could not be verified” is displayed. Perform a re-download of the schematic by following point ‘a’ above.
  14. This demo example has an audio-in at sub-node 1 of main-node 0 chain and an audio-out on sub-node 1 of main-node 1 chain (as per section 3.6.2.1 , 3.7.2.1 ). A cross fade can be performed between this audio-in and a 500 Hz sine-tone which is generated on the ADSP-21569.
    1. In the system tab of the schematic, double-click the custom platform and then double-click the ADSP-2156x shape.
    2. A schematic as shown in Figure 50 will open.
    3. Click once on the “On/Off switch” to put it to “ON” state and observe that the song will fade into a sine tone
    4. Click on the same switch again to get back the audio.
    5. Volume can be adjusted by operating the slider on the right end of the schematic near the outputs
    6. The frequency, gain and on/off state can be changed for each of the two sine tones by interacting with the “Sine Tone” block.

SC594 (Host) + SOM-CRR ez kit

This demo uses SC594 as a host and it uses two ADZS-2435MINI’s. The following steps shows how to run this sample demo.

  1. Perform the hardware setup as per 3.6.1.1.1 , 3.6.1.1.2 , 3.6.1.2.1 . Maintain the hardware configuration for the SOM and SOM-CRR ez kit as per the recommended default configurations of their respective manuals.
  2. Open CCES v2.11.0 and click on File → Import → ‘Existing projects into work space’
  3. Browse to the folder C:\Analog Devices\ADI_A2B-SSPlus_Software-Rel1.1.0\Target\examples\demo\multimaster and select a2b-adsp-sc59x
  4. Build the project using Project → Build Project option.
  5. Turn OFF power to the SOM-CRR board and set boot-mode to 0 on the SOM.
  6. Make all the connections described in section 3.6.2 .
  7. Turn ON power to the SOM-CRR and A2B Main nodes.
  8. Connect the JTAG to PC.
    1. Note: If Emulator is used the first time: Create a new debug configuration using Run- >Debug Configurations, create new session, select ADSP-SC594 and click NEXT, select Emulator and click NEXT, choose In-Circuit Emulator platform (typically: ADSP-SC594 via ICE1000) and click NEXT, then click FINISH.
  9. Select a debug configuration and press F5 to run the project.
  10. There are three audio configurations for this multi-main setup described in Figure 36, Figure 37, Figure 38 and section 3.6.2.2 . Provide the audio sources and sinks as per these.

Running sample Demo A2B Bus Analyzer

The following steps describe the procedure to run a sample demo in PC mode

  1. Open an A2B schematic from (<A2B plugin for SigmaStudio+ installation path»\Schematics\A2BBusAnalyzer
  2. Refer G.2.6 Using A2B Bus Analyzer UI from SigmaStudio+ for steps to launch A2B Bus Analyzer UI from SigmaStudio+
  3. Click on “LinkCompileDownload” icon in SigmaStudio+.
  4. Discovery and configuration of A2B nodes and peripheral devices as per the schematic will be done by the A2B Bus Analyzer Device if it is used for Main Node Emulation
  5. All the events through the A2B network will be captured by the A2B Bus Analyzer Device when used as Bus Monitor
  6. A2B Bus Analyzer Device will be discovered as a Sub Node by the A2B Eval Main Node when used as a Sub Node Emulator.
  7. After successful discovery and initialization, audio routing can be observed as per the stream configuration for the schematic. The sink and source audio streams of A2B Bus Analyzer Main/Sub Node Emulator and audio streams detected by the A2B Bus Analyzer Bus Monitor will be displayed on the A2B Bus Analyzer UI.
resources/tools-software/a2bv2/quickstartguide/running-sample-demo.1669268347.txt.gz · Last modified: 24 Nov 2022 06:39 by Gireesha Nirvanaiah