How to change SPI clock rate on USRP2?

Hi all,

Is there a way to change the SPI clock rate on USRP2? (I am using uhd)

I found a similar question for E100 here - . Is this
solution applicable to USRP2 also?

Also, I found some variable in - /firmware/zpu/lib/spi.c "spi_regs->div

1; // 0 = Div by 2 (25 MHz); 1 = Div-by-4 (12.5 MHz)" Can I increase
value to 2? Will that make the clock speed 6.25 MHz?

Sriharsha P…