Power-On Self Test (POST) on ADSP-21569 EZ-Board

When I was testing the basic functions of the board, I posted 3 functional test failures(adi_post_adc_dac_test1、adi_post_adc_dac_test1 and adi_post_spdifloopback ).

Do I need to set anything on the hardware?

The following are the test results I got through the serial port:

Test Results.txt


*******************************************************

*** ADSP-21569 EZ-Board Power-On Self Test

*******************************************************

Built: on May 18 2021, at 19:57:02

Firmware version: 1.0

Clocks (MHz): CCLK-1000 SCLK-500 SCLK0-125 SCLK1-250 DDRCLK-500 OCLK-125


Waiting for User Input: Command or a Test number to be selected...

2


 Test number selected is  2 



*******************************************************

*** Pushbutton & LED Test

*******************************************************

Visually inspect that LED10-LED9 toggle when each PB is pressed.

Each PB should be pressed only once.


Waiting for PB1 and PB2 to be pressed...

PB1 pressed

PB2 pressed


Test Passed


Pushbuttons/LED test: passed 1  failed 0


Waiting for User Input: Command or a Test number to be selected...

3


 Test number selected is  3 



*******************************************************

*** UART Test

*******************************************************

Testing Char echo in blocking mode 

Press 'z' character to exit test 

asddfgfghjk
asddfgfghjk
z
z


Test Passed


UART Char Echo: passed 1  failed 04



Waiting for User Input: Command or a Test number to be selected...

Invalid input. Input too long or too short 


 Test number selected is  4 



*******************************************************

*** HADC Test

*******************************************************

voltage at VIN0 = 0.950537

voltage at VIN1 = 1.797363

voltage at VIN2 = 1.340332

voltage at VIN3 = 0.051416

Correct voltage at VIN0

Correct voltage at VIN1

Correct voltage at VIN2



HADC test: passed 1  failed 0


Waiting for User Input: Command or a Test number to be selected...

5


 Test number selected is  5 



*******************************************************

*** Linkport Test

*******************************************************



Test Linkport Loopback test: passed 0  failed 1


Waiting for User Input: Command or a Test number to be selected...

6


 Test number selected is  6 



*******************************************************

*** SPI ISSI Flash Test

*******************************************************


Flash reset passed

Flash ID check passed

Single-bit mode passed

Dual-bit mode passed

Quad-bit mode passed


Test Passed


ISSI Flash test: passed 1  failed 0


Waiting for User Input: Command or a Test number to be selected...

7


 Test number selected is  7 



*******************************************************

*** SPI Macronix Octal Flash Test

*******************************************************


Flash Reset passed 

 Flash ID check passed 

 Single-bit mode failed 

 Octal-bit mode failed 


Test Failed


Test Macronix Flash test: passed 0  failed 1


Waiting for User Input: Command or a Test number to be selected...

8


 Test number selected is  8 



*******************************************************

*** SPI EEPROM Test

*******************************************************



Test Passed


EEPROM test: passed 1  failed 09



Waiting for User Input: Command or a Test number to be selected...


 Test number selected is  9 



*******************************************************

*** Rotary Switch Test

*******************************************************

Remove LinkPort Cable and turn the knob SW7



Rotary Switch test: passed 1  failed 0


Waiting for User Input: Command or a Test number to be selected...

10


 Test number selected is  10 



*******************************************************

*** INA3221 Test

*******************************************************

Visually inspect that jumpers on P17, P18 P19 and P20 are removed


INA3221 Chan 0 single bus voltage 1336mV in range

INA3221 Chan 1 single bus voltage 960mV in range

INA3221 Chan 2 single bus voltage 3344mV in range

INA3221 Chan 0 single shunt voltage 11640uV in range

INA3221 Chan 1 single shunt voltage 40600uV in range

INA3221 Chan 2 single shunt voltage 360uV in range

INA3221 Chan 0 continuous bus voltage 1336mV in range

INA3221 Chan 1 continuous bus voltage 960mV in range

INA3221 Chan 2 continuous bus voltage 3344mV in range

INA3221 Chan 0 continuous bus voltage 1336mV in range

INA3221 Chan 1 continuous bus voltage 960mV in range

INA3221 Chan 2 continuous bus voltage 3344mV in range

INA3221 Chan 0 continuous shunt voltage 11640uV in range

INA3221 Chan 1 continuous shunt voltage 40840uV in range

INA3221 Chan 2 continuous shunt voltage 360uV in range

INA3221 Chan 0 continuous shunt voltage 11640uV in range

INA3221 Chan 1 continuous shunt voltage 40800uV in range

INA3221 Chan 2 continuous shunt voltage 360uV in range


Test Passed


INA3221 supply test: passed 1  failed 011



Waiting for User Input: Command or a Test number to be selected...


 Test number selected is  11 



*******************************************************

*** Si5356A Clock Generator Test

*******************************************************



SI5356A test: passed 1  failed 0


Waiting for User Input: Command or a Test number to be selected...

12


 Test number selected is  12 



*******************************************************

*** ADC/DAC Test for Channels 1, 3, 5, 7

*******************************************************

freq: 935; fMaxFreq: 3300.000000; fMinFreq: 2700.000000; peak: 99; LOW_MAG: 80

!!!!!FAILED!!!!!FAILED!!!!!Failed channel: 1


Test Failed


Test adi_post_adc_dac_test1: passed 0  failed 1


Waiting for User Input: Command or a Test number to be selected...

13


 Test number selected is  13 



*******************************************************

*** ADC/DAC Test for Channels 0, 2, 4, 6

*******************************************************

freq: 1309; fMaxFreq: 3300.000000; fMinFreq: 2700.000000; peak: 98; LOW_MAG: 80

!!!!!FAILED!!!!!FAILED!!!!!Failed channel: 0


Test Failed


Test adi_post_adc_dac_test2: passed 0  failed 1


Waiting for User Input: Command or a Test number to be selected...

14


 Test number selected is  14 



*******************************************************

***  Mic-Bais Test for ADAU1977 


*******************************************************

Mic Bias voltage measured = 5.093261

Correct Mic Bias voltage at VIN3 detected 



Mic Bias test: passed 1  failed 0


Waiting for User Input: Command or a Test number to be selected...

15


 Test number selected is  15 



*******************************************************

*** SPDIF Loopback Test

*******************************************************



Test SPDIF Loopback: passed 0  failed 1


Waiting for User Input: Command or a Test number to be selected...

16


 Test number selected is  16 



*******************************************************

*** TMU Temperature Test

*******************************************************

Temperature:  54.0 deg C



Test Passed


TMU test: passed 1  failed 0


Waiting for User Input: Command or a Test number to be selected...

17


 Test number selected is  17 



*******************************************************

***  DDR Sweep Test 


*******************************************************



DDR test: passed 1  failed 0


Waiting for User Input: Command or a Test number to be selected...

18


 Test number selected is  18 



Test loop flag state changed to 1


Toggle LoopFlag: passed 1  failed 0


Waiting for User Input: Command or a Test number to be selected...

19


 Test number selected is  19 



POST stats:



            TEST NAME             PASS      FAIL        STD LOOP    ONE TIME      IGNORE

==========================================================================================

Infinite Standard Loop              0         0           1            0            0

Pushbuttons/LED test                1         0           1            1            0

UART Char Echo                      1         0           1            1            0

HADC test                           1         0           1            0            0

Linkport Loopback test              0         1           1            0            0

ISSI Flash test                     1         0           1            0            0

Macronix Flash test                 0         1           0            0            0

EEPROM test                         1         0           1            0            0

Rotary Switch test                  1         0           0            1            0

INA3221 supply test                 1         0           1            0            0

SI5356A test                        1         0           1            0            0

adi_post_adc_dac_test1              0         1           0            1            0

adi_post_adc_dac_test2              0         1           1            0            0

Mic Bias test                       1         0           1            0            0

SPDIF Loopback                      0         1           1            0            0

TMU test                            1         0           1            0            0

DDR test                            1         0           1            1            0

Toggle LoopFlag                     1         0           0            0            0

Display Status                      0         0           0            0            0



Waiting for a test to be selected...


Display Status: passed 1  failed 0


POST stats:



            TEST NAME             PASS      FAIL        STD LOOP    ONE TIME      IGNORE

==========================================================================================

Infinite Standard Loop              0         0           1            0            0

Pushbuttons/LED test                1         0           1            1            0

UART Char Echo                      1         0           1            1            0

HADC test                           1         0           1            0            0

Linkport Loopback test              0         1           1            0            0

ISSI Flash test                     1         0           1            0            0

Macronix Flash test                 0         1           0            0            0

EEPROM test                         1         0           1            0            0

Rotary Switch test                  1         0           0            1            0

INA3221 supply test                 1         0           1            0            0

SI5356A test                        1         0           1            0            0

adi_post_adc_dac_test1              0         1           0            1            0

adi_post_adc_dac_test2              0         1           1            0            0

Mic Bias test                       1         0           1            0            0

SPDIF Loopback                      0         1           1            0            0

TMU test                            1         0           1            0            0

DDR test                            1         0           1            1            0

Toggle LoopFlag                     1         0           0            0            0

Display Status                      1         0           0            0            0



Waiting for a test to be selected...


Display Status: passed 2  failed 0

Parents
  • +1
    •  Analog Employees 
    on May 20, 2021 2:38 PM

    Hello Chen,

    Yes. You have to connect audio loopback cables for these tests. The setup details are available in the below path.

    C:\Analog Devices\ADSP-2156x_EZ-KIT-Rel1.0.1\ADSP-2156x_EZ-KIT\Examples\Power_On_Self_Test\Readme

    Please go through the Hardware Setup paragraph and provide connections accordingly.

    Please refer the attached screenshots for your reference.

    Best Regards,
    Santhakumari.K

  • Hi:
    Thank you for your reply.
    The Power_On_Self_Test example test is successful.
    I use ADC examples to test ADC function and find several problems:
    The RCA input port(J7) is connected to the player, the spdif input port(J11) is connected to the spdif player, and the RCA output port(J10) is connected to the oscilloscope.
    I use the SPT_GBL_Audio_Passthrough_I2S example, the RCA output port has signal output
    1、I use the SPDIF_ASRC_DAC_AudioPassthrough example, the LED4 on the board is always on and there is no audio signal output from the RCA output port
    2、I use Audio_Loopback_TDM, Audio_Passthrough_I2S and SPT_GBL_Audio_Passthrough_TDM examples, there is no signal at the RCA output port
    3、What is the difference between Audio_Passthrough_I2S and SPT_GBL_Audio_Passthrough_I2S?
    4、What is the difference between Audio_Loopback_TDM and SPT_GBL_Audio_Passthrough_TDM?

  • 0
    •  Analog Employees 
    on May 25, 2021 3:33 PM in reply to chenxuezong509@126.com

    Hello Chen,

    Please follow the "Read me hardware setup" available in the BSP installation path. C:\Analog Devices\ADSP-2156x_EZ-KIT-Rel1.0.1\ADSP-2156x_EZ-KIT\Examples\drivers\adc\SPDIF_ASRC_DAC_AudioPassthrough

    All examples are working fine in our side. We need to follow the hardware setup before running those examples.

    Suppose if you are creating a new project and copying source code, then you have to copy the corresponding static configuration header file also.

    Because when you create a new project, it will take default configuration file only.

    This API is used for enabling group of sport devices globally within single DAI.

    Please refer page 22–51(1087 of 2259) in HRM to get more details about global enabling feature in SPORT peripherals.

    Best Regards,
    Santhakumari.K

Reply
  • 0
    •  Analog Employees 
    on May 25, 2021 3:33 PM in reply to chenxuezong509@126.com

    Hello Chen,

    Please follow the "Read me hardware setup" available in the BSP installation path. C:\Analog Devices\ADSP-2156x_EZ-KIT-Rel1.0.1\ADSP-2156x_EZ-KIT\Examples\drivers\adc\SPDIF_ASRC_DAC_AudioPassthrough

    All examples are working fine in our side. We need to follow the hardware setup before running those examples.

    Suppose if you are creating a new project and copying source code, then you have to copy the corresponding static configuration header file also.

    Because when you create a new project, it will take default configuration file only.

    This API is used for enabling group of sport devices globally within single DAI.

    Please refer page 22–51(1087 of 2259) in HRM to get more details about global enabling feature in SPORT peripherals.

    Best Regards,
    Santhakumari.K

Children
  • Hi:

    I found the cause of the problem.
    In the Select a program to load window, I selected Load symbols only in the options setting, which caused the program to fail to run, so I restored it to the default.I watched the Debugging on a Hardware Target with CCES video tutorial. It is set in this way. Why does the program fail to run when I set it up like this?

  • 0
    •  Analog Employees 
    on May 27, 2021 6:35 AM in reply to chenxuezong509@126.com

    Hello Chen,

    When you check Load symbols only option, it only enables symbols from the program loaded. If disabled, symbols, code, and data are loaded.

    Please refer the below Help path
    CrossCore® Embedded Studio 2.9.4 > Integrated Development Environment > Debugging Executable Files > Application with CrossCore Debugger > Run/Debug Configurations - Session Tab

    This option is applicable where the executable is already in flash and running from there, you don't want to load the code and data, because it's already present. Equally, if you're running a bootloader and it is pulling your main application into memory, you don't want the debugger to load the code and data for that main application, because it'll overwrite what the bootloader is doing. In both these cases, you cna tell the debugger to load just the symbols: the debugger looks at the exe for the application in question, and pulls in all the relevant debug information, but assumes the code and data to be already present in memory.

    Best Regards,
    Santha kumari.K

  • In the SPT_GBL_Audio_Passthrough_TDM and Audio_Loopback_TDM examples, there is a problem in configuring the ADAU1979 and ADAU1962 registers

    In ADAU1962, the value of the DAC_CTRL0 register is 0x18.

    In ADAU1979, the value of the SAI_CTRL0 register is 0x1B.

    The Serial Port Mode of ADAU1962 and ADAU1979 is TDM8.The sampling rate of ADAU1979 is 64 kHz to 96 kHz, and the sampling rate of ADAU1962 is 32 kHz to 48 kHz. The sampling rates of the two chips are different.

  • 0
    •  Analog Employees 
    on Jun 1, 2021 5:19 AM in reply to chenxuezong509@126.com

    Hello Chen,

    In ADC side, the value of DAC_CTRL0 register value should be 0x18. This has been updated in lineno:84 of the application.

    Regarding sampling rate, in all these applications DAC is the master. Audio_loopback_TDM example uses 48k sample rate as 1962A_DAC is configured as master.

    So ADC receives clock and FS from DAC. Since ADC is not master, the sampling rate in SAI_CTRL0 register will be ineffective and application runs on 48k as configured in the DAC_CTRL0 register.

    Best Regards,
    Santhakumari.K

  • Hi:

    Have you ever used TMD4 and 192KHz format?

    In the Audio_loopback_TDM example, I set the sampling rate of ADAU1962A and ADAU1779 to 192KHz, and the Serial Port Mode to TMD4. RCA has signal output, but the sound is distorted.

    The data Sheet of adau1962a and adau1779 can support TDM4 and 192KHz.