AnsweredAssumed Answered

AD9361 Driver initialization failure

Question asked by sbankert on Apr 23, 2014
Latest reply on Apr 25, 2014 by larsc

When our kernel boots, the AD9361 driver fails to initialize with: ad9361 spi32766.0: ad9361_dig_tune: Tuning RX FAILED! followed by: ad9361 spi32766.0: ad9361_dig_tune: Tuning TX FAILED!  I turned on the debug code which prints out the following tables. 

 

SAMPL CLK: 61440000

  0:1:2:3:4:5:6:7:8:9:a:b:c:d:e:f:

0:# # # # # # # # # # # # # # # #

1:# # # # # # # # # # # # # # # #

 

ad9361 spi32766.0: ad9361_dig_tune: Tuning RX FAILED!

SAMPL CLK: 61440000

  0:1:2:3:4:5:6:7:8:9:a:b:c:d:e:f:

0:# # # # # # # # # # # # # # # #

1:# # # # # # # # # # # # # # # #

 

ad9361 spi32766.0: ad9361_dig_tune: Tuning TX FAILED!

 

On our eval board, the driver initializes properly, and the Sample Clock tables are

 

SAMPL CLK: 61440000

  0:1:2:3:4:5:6:7:8:9:a:b:c:d:e:f:

0:# # # # # # # # # o o o o # # #

1:# # # # # # # # # # # # # # # #

 

SAMPL CLK: 61440000

  0:1:2:3:4:5:6:7:8:9:a:b:c:d:e:f:

0:# # # # # # # # # # # # # # # #

1:# # o o o o # # # # # # # # # #

 

 

The device tree entry is shown below for what I think is the proper clock.

 

/* BBPLL     ADC R2CLK     R1CLK    CLKRF RSAMPL  */

adi,rx-path-clock-frequencies = <983040000 245760000 122880000 61440000 30720000 30720000>;

/* BBPLL     DAC T2CLK     T1CLK    CLKTF TSAMPL  */

adi,tx-path-clock-frequencies = <983040000 122880000 122880000 61440000 30720000 30720000>;

 

 

Any suggestions on possible causes?

 

Thanks in advance.

Outcomes