adrv9009 calibration


I got some issues with 2 functions: initCal and enableTrackingCal. I use no-OS library and modify it for kcu105 FPGA board (I dont have Zynq board). I set TX2 port loopback to RX2 port directly.

- (Calib_mask == None) && (TrackMask == None): No error, TX outputs have RF signal.

- (Calib_mask != None) && (TrackMask == None): Error enableTrackingCal, errorStatusRegister = 0x04. Ignore this error, TX outputs have RF signal with some calib_mask. 

- With most of calib_masks (except:TX_LO_LEAKAGE_EXTERNAL, FHM_CAL,...), initCal function is successful. However, with some masks, TX outputs dont have RF signal, example: TIA_3DB_CORNER, DC_OFFSET, FLASH_CAL, TX_LO_LEAKAGE_INTERNAL, ...

I'm looking forward to your answers.


  • 0
    •  Analog Employees 
    on Jan 15, 2020 5:45 AM
    Zynq board). I set TX2 port loopback to RX2 port directly.

    Are you connecting to RX2 or ORX2? For external init cals to run you need to connect TX2 to ORX2.

    Can you please read the status of below APIs and share,

    TALISE_waitInitCals(taliseDevice_t *device, uint32_t timeoutMs, uint8_t *errorFlag)
    TALISE_checkInitCalComplete(taliseDevice_t *device, uint8_t *areCalsRunning, uint8_t *errorFlag)

    TALISE_getInitCalStatus(taliseDevice_t *device, uint32_t *calsSincePowerUp, uint32_t *calsLastRun, uint32_t *calsMinimum, uint8_t *initErrCal, uint8_t *initErrCode)


    I dont have any external hardware.

    (*)I have checked every init_Mask with those 3 functions. WaitInit -> CheckInit -> GetInit

    (1) 3 masks pass all 3 functions: 




    (2) 2 masks don't pass any functions: 

    - TAL_TX_LOL_LEAKAGE_EXTERNAL: waitInitCals fail/ waitArmCmdSTT fail/cmdStatByte=e

    - TAL_FHM_CALS: waitInitCals fail/ waitArmCmdSTT fail/cmdStatByte=a

    (3) others:

    Pass waitInit

    Pass CheckInitComplete: areCalsRunning = 0

    Error GetInitCalStatus/waitArmCmdSTT/cmdStatByte = 4

    (**) I terminate ORXx and RXx with 50 Ohm but no effect.

  • 0
    •  Analog Employees 
    on Jan 17, 2020 6:13 AM in reply to vietnguyen

    For TAL_TX_LOL_LEAKAGE_EXTERNAL you need to have an external feedback path enabled from Tx to ORx. Please refer UG-1...295 for more details.

    - TAL_FHM_CALS: waitInitCals fail/ waitArmCmdSTT fail/cmdStatByte=a

    Please let us know where and you are configuring TAL_FHM_CALS.

Reply Children