ADRV9002 bootState

Hello. Everyone

(1)

I try bring up ADRV9002. and I wonder bootState.

in "adi_adrv9001_armtypes.h" ArmBootStates defined.

typedef enum adi_adrv9001_ArmBootStates
{
ADI_ADRV9001_ARM_BOOT_POWERUP = 0, /*!< Used to put API in wait for ARM state */
ADI_ADRV9001_ARM_BOOT_READY = 1, /*!< ARM booted with no failure */
ADI_ADRV9001_ARM_BOOT_FW_CHECKSUM_ERR = 2, /*!< ARM firmware checksum error */
ADI_ADRV9001_ARM_BOOT_EFUSE_DATA_ERR = 3, /*!< Efuse data error */
ADI_ADRV9001_ARM_BOOT_STREAM_IMG_CHECKSUM_ERR = 4, /*!< Stream image checksum error */
ADI_ADRV9001_ARM_BOOT_DEVICE_PROFILE_CHECKSUM_ERR = 5, /*!< Device profile checksum error */
ADI_ADRV9001_ARM_BOOT_CLKGEN_ERR = 6, /*!< Bootup clkgen setup error */
ADI_ADRV9001_ARM_BOOT_CLKSSI_ERR = 7, /*!< Bootup SSI setup error */
ADI_ADRV9001_ARM_BOOT_POWER_INIT_ERR = 8, /*!< Power init setup error */
ADI_ADRV9001_ARM_BOOT_JTAG_BUILD_STATUS_READY = 9, /*!< JTAG build status ready indication */
ADI_ADRV9001_ARM_BOOT_CLKLOGEN_ERR = 10, /*!< Bootup clock LOGEN error */
ADI_ADRV9001_ARM_BOOT_RXQECHW_ERR = 11, /*!< Error initializing RxQEC hardware */
ADI_ADRV9001_ARM_BOOT_HM_TIMER_ERR = 12, /*!< Failed to create health monitor timers */
ADI_ADRV9001_ARM_BOOT_ADC_RCAL_ERR = 13, /*!< ADC RCAL error */
ADI_ADRV9001_ARM_BOOT_STREAM_RUNTIME_ERR = 14, /*!< Stream runtime error */
ADI_ADRV9001_ARM_BOOT_CLKGEN_RCAL_ERR = 15, /*!< Bootup clkgen setup after RCAL error */
} adi_adrv9001_ArmBootStates_e;

and in "adrv9001_arm.c"

error_table is defined like below

const char* const adrv9001_error_table_ArmBootStatus[] =
{
"ARM is powering up",
"ARM booted with no failure",
"ARM Firmware checksum error",
"Efuse data error",
"Stream image checksum error",
"Device profile checksum error",
"Bootup clkgen setup error",
"Bootup SCCG init setup error",
"Device profile init setup error",
"JTAG build status ready indication",
"Bootup clock LOGEN error",
"Error initializing RxQEC hardware",
"Failed to create Health monitor timers",
"ADC RCAL error",
"ADC CCAL error",
"Stream Run error"
};

The two defines appear to have different values for indexes 14~15. (CCAL error, Stream Run error)

I wonder which of the two value is correct.

(2)

Sometime in my board, adi_adrv9001_Radio_State_Get() retrun value 15

I wonder what problem number 15 is and how to solve it.

Sincerely.

JaeKyung.