I am using ADSP21489 with 400MHz pll clock speed at this time I am trying generate 20MHz SPI clock but output of SPI slave data is corrupting when low clock speed lessthan 15Mhz slave is giving correct data.
Again I configured PLL to 350MHz at this time SPI slave data is courrepting in less speed that means <5MHz.
But in ADSP21489 datasheet SPI clock speed is 25MHz.I am using SPI slave is AD7266 it supports 25MHz clock speed.
I am confusing how to configure SPI clock in different clock rate.
will you please assist me how to set SPI clock with different speeds.
Below example code is initializing of SPI and PLL is 400MHz