Having some problems booting an ADRV9002 on a custom board. SPI seems to be working OK, but during boot we get the following message:
adrv9002 spi1.0: [ERROR]: Error number 51456 (0x0000c900), Recovery action -101.In file drivers/iio/adc/navassa/devices/adrv9001/public/src/adi_adrv9001_arm.c, in function adi_adrv9001_arm_StartStatus_Check, in line 170, variable name NULL.Error message Clock PLL initialization error.
adrv9002 spi1.0: adrv9002_digital_init, 2211: failed with "Clock PLL initialization error" (51456)
We have initalliy had some problems with the clocking scheme (incorrect footprint on a device), but we are now feeding a 38.4MHz clock into the device and are still getting this message. Clock levels are a little lower than I'd like (approx 200mVp-p) but the device is clearly seeing something clock like as if I remove the DC blocking caps I get the following message
adrv9002 spi1.0: [ERROR]: Error number 1 (0x00000001), Recovery action -2.In file drivers/iio/adc/navassa/devices/adrv9001/public/src/adi_adrv9001_powermanagement.c, in function adi_adrv9001_powermanagement_Configure_Validate, in line 39, variable name readPattern.Error message ARM memory is not accessible. Check whether device clock and/or power is connected to the ADRV9001 board.
adrv9002 spi1.0: [ERROR]: Error number 1 (0x00000001), Recovery action -2.In file drivers/iio/adc/navassa/devices/adrv9001/public/src/adi_adrv9001_powermanagement.c, in function adi_adrv9001_powermanagement_Configure, in line 70, variable name NULL.Error message ARM memory is not accessible. Check whether device clock and/or power is connected to the ADRV9001 board.
adrv9002 spi1.0: adrv9002_power_mgmt_config, 2109: failed with "ARM memory is not accessible. Check whether device clock and/or power is connected to the ADRV9001 board" (1)
From this, I conclude that some sort of clock is being detected, but we always get the Clock PLL initialization error. Default profile and device tree are both set to 38.4MHz (as per reference board) but we can never seem to get past this step. Am I missing something somewhere?
Any advice on how to proceed any further?
Regards
Simon Davey