I am trying to set the bit rate of the SSP0 port of the LPC1313FBD48/01 to 1MHz. The system clock is 72MHz, and it is divided by 12 to have the SSP clock as 6MHz. I have checked the CPSDVSR = 2 and SCR = 2, which should give me 1MHz:
Bit frequency = Pclk/(CPSDVSR * (SCR + 1))
However, I get 781.2kHz in place of 1MHz.
What might be going wrong here?