Wiki

This version (06 Oct 2023 09:25) was approved by Gireesha Nirvanaiah.The Previously approved version (24 Nov 2022 13:55) is available.Diff

Click here to return to the QSG homepage

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.

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.

Figure 43: A2B system with PC as Host

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.

Figure 44: Sample A2B demo configuration

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 Sample Demo Setup for sample demo using EVAL- AD2430WD1BZ or EVAL-AD2438WD1BZ

Refer section Sample Demo Setup with PC for sample demo using EVAL – AD2437WA1NZ and AD2437B1NZ.

Software Setup

Setup PC software as explained in Section Software Requirements

Hardware Setup

High Power – AD243x

Hardware connections shall be done as described in AD243x High Power

Jumper settings

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

Table 2: Jumper Settings: High Power

Jumper Purpose in EVAL-AD2435WA3LZ Main Jumper Purpose in EVAL-AD2435WJ3LZ Sub 0 Sub 1
JP1 Boot x JP1 Class D Standby x x
JP2 /Output Source 2-3 JP2 I2S/
CODEC/
TUNER/
CLASS-D
5-6
7-14
8-13
19-20
21-22
23-24
5-6
7-8
17-18
19-20
21-22
23-24
JP3 Input Source 2-3 JP3 PWM Select 1-2 x
JP4 Clock Sel 1-2 JP4 Not present x x
JP5 Self-Discovery Mode 1-2 JP5 VBUS Supply 2-3 2-3
JP6 ADC0/VR1 x JP6
JP7 ADC1/VR2 x
JP8 I2S Signals 1-2
3-4
5-6
7-8
9-10
11-12
P1 I2C/SPI x P1 I2C/SPI x x
P2 SigmaStudio+ Connect P2 DCOP Module Connector x x
P3 Not present x P3 Tuner Module Connector x x
P4 Supply In Connect P4 CH2 x Connect
P5 PWR Keep default P5 CH1 x Connect
P6 HWMUTE x x
P12 Fuse Keep default x x
A2B Demo system

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

High Power – AD2437

Hardware connections shall be done as described in AD2437 High Power

XLR Platform Jumper settings

Jumper settings (default) for EVAL-AD2437A1NZ (Main) and EVAL-AD2437B1NZ (Sub 0 and Sub 1) are as shown in Table 3..

Table 3: 2437 XLR Platform Jumper Settings

Jumper Purpose in EVAL-AD2437A1NZ Main Jumper Purpose in EVAL AD2437B1NZ Sub 0 Sub 1
JP1 Self Discovery Mode 1-2 JP1 AD2437 SIO0 select 1-2 2-3
JP5 Boot Disable 1-2 P9 BOOT DISABLE 1-2 1-2
JP6 Clock Select 1-2 JP2 GAIN 1-2 1-2
P6 AD1937 Clock Sel 1-2 JP3 MUTE 1-2 1-2
X All Others Open S1 I2C BUS SEL ALL ON ALL ON
A2B Demo system

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

RJ45 Platform Jumper settings

Jumper settings (default) for EVAL-AD2437A1MZ (Main) and EVAL-AD2437B1MZ (Sub 0 and Sub 1) are as shown in Table 3a..

Table 3a: 2437 RJ45 Platform Jumper Settings

Jumper Purpose in EVAL-AD2437A1MZ Main Jumper Purpose in EVAL AD2437B1MZ Sub 0 Sub 1
JP1 PDM Clock Source 1-2, 3-4 P4 SIO0 source select 2-3 1-2
JP4 WAKE UP 1-2 P16 PDM CLK 1-2 1-2
JP6 IRQ 1-2 P18 WP 1-2 1-2
JP9 SIO2 1-2 P23 MUTE 1-2 2-3
JP38 Clock Select 1-2
X All Others Open
A2B Demo system

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

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.

Table 4: Jumper Settings: Standard Power

Jumper Purpose in EVAL-AD2433WA1BZ Main Jumper Purpose in EVAL-AD2433WB1BZ Sub 0 Sub 1
JP1 USBi Sel 1-2 JP1 DRX0 1-2 1-2
JP2 Boot 1-2
JP3 DRX0 1-2
JP4 DRX1 1-2
JP5 Clock Sel 1-2
JP6 PWM Select X
JP7 Self-Discovery 1-2
P1 I2C/SPI Keep default
P2 SigmaStudio+ Connect
P3 PWR Connect
P4 +12V Keep default
P5 IOVDD 2-3
P7 I2S Connector Keep default
A2B Demo system

All steps mentioned in AD243x standard Power 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

Table 5: Jumper Settings – AD2430 / AD2438

Jumper Purpose in EVAL-AD2433WA1BZ Main
JP1 Voltage Selector 1-2
JP2 Voltage Selector 1-2
JP3 Main / LPS Selector 1-2
JP4 MCLK 1-2
JP5 Clock Sel 1-2
JP6 Boot 1-2
JP7 BCLK 1-2
JP8 SYNC 1-2
JP9 DTX0 1-2
JP10 DRX1 1-2
JP11 DRX0 1 & 3
JP12 PDMCLK Open
P2 DTx / DRx Probe Head Keep default
P3 I2C / IRQ Probe Head Keep default
P4 Line In Connect
P5 Line Out Connect
P6 SigmaStudio+ Connect
P7 Power Input Connect
P9, P20, P22 Other Open
P8 +12V Keep default
P10 Extender Connect to Target
A2B Demo system

All steps mentioned in Section Sample Demo Setup 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.

Table 6: Jumper Settings

JP1 JP2 JP3 JP4 JP5 JP6 JP7 JP8 JP9 JP10 JP11
12/13
JP14
1-2 1-2 & 3-4 1-2 & 3-4 1-2 3-4 3-4 3-4 2-3 3-4 1-2 Open 1-2
A2B Demo system

All steps mentioned in Section connections 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). Figure 45: Sample demo schematic in PC mode
  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. Figure 46: Platform view in SigmaStudio+
    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 Figure 47: Peripheral Settings window
    • 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. Figure 48: Link-Compile-Download option in SigmaStudio+
  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 Local powered sub-nodes , EVAL-AD2428WD1BZ without 1452 DSP Bypass jumper settings .
  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.

Figure 49: DSP schematic on ADAU 1452

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 ADZS2435-MINI Hardware modifications , ADZS2435-MINI Jumper settings , EVAL-AD2435WJ3LZ Jumper settings , ADZS2433-MINI Hardware modifications , ADZS2433-MINI Jumper settings , EVAL-AD2433WB1BZ Jumper settings . 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 connections , connections .
  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. On SS+ toolbar, click on the Action → “Link Compile Download”.
  11. The schematic will download and Audio out’s as per section Audio In/out for ADSP-21569 and PC as a host – multi-main , Audio In/out for ADSP-21569 and PC as a host – multi-main will be heard.
  12. 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.
  13. 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 Audio In/out for ADSP-21569 and PC as a host – multi-main , Audio In/out for ADSP-21569 and PC as a host – multi-main). 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.

Figure 50: Multi-main DSP schematic

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 ADZS2435-MINI Hardware modifications , EVAL-AD2435WJ3LZ ADZS2435-MINI Jumper settings , Jumper settings . 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 connections.
  7. Turn ON power to the SOM-CRR and A2B Main nodes.
  8. Connect the JTAG to PC.
    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 Audio In/out for ADSP-SC594 as a host – multi-main . 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+) 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.txt · Last modified: 05 Oct 2023 19:46 by Gaurav Jain