LPC1788 SPI SCK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1788 SPI SCK

612 Views
ljun_cdut
Contributor I

Recently,I am debugging the spi communitcation of LPC1788 . In master mode, how much is the max frequency of SPI ??

Labels (1)
0 Kudos
1 Reply

402 Views
soledad
NXP Employee
NXP Employee

Hello,

The minimum clock cycle time, and therefore the maximum frequency of the SSP in master mode, is limited by the pin electronics to the value given. The SSP block should not be configured to generate a clock faster than that. At and below the maximum frequency, Tcy(clk) = (SSPCLKDIV  x  (1 + SCR) x CPSDVSR) / fmain. 5The clock cycle time derived from the SPI bit rate Tcy(clk) is a function of the main clock frequency fmain, the SSP peripheral clock divider (SSPCLKDIV), the SSP SCR parameter (specified in the SSP0CR0 register), and the SSP CPSDVSR parameter (specified in the SSP clock prescale register).


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos