What is the maximum SPI speed on the LPC210x devices?
The peripheral bus (VPB) is capable of running with the same max. speed as the ARM7 system bus (AHB), which is 60MHz (using VPBDIV=1). The “Maximum SPI data bit rate is one eighth of the input clock rate” (User manual chapter 10, ISP features). The SPI rate may be calculated as: PCLK rate / SPCCR value. The value of the SPI Clock Counter Register (SPCCR) must always be greater than or equal to 8. The pclk rate is CCLK / VPB divider rate as determined by the VPBDIV registers contents. PCLK = 60MHz / 1 = 60MHz The max.