Please help me!
How to calculate max freq of SPI Slave and McBSP SPI slave mode external clock?
Datasheets say differently. :(
For SPI:
"MAX LSPCLK = 75 MHz for 150 MHz devices and 100 MHz for 100 MHz devices."
"tc(SPC) = SPI clock cycle time = LSPCLK/4 or LSPCLK/(SPIBRR + 1)
Internal clock prescalers must be adjusted such that the SPI clock speed is limited to the following SPI clock rate:
Master mode transmit 25-MHz MAX, master mode receive 12.5-MHz MAX
Slave mode transmit 12.5 -MHz MAX, slave mode receive 12.5 -MHz MAX.
tc(LCO) = LSPCLK cycle time"
But for 100 Mhz devices there is LSPCLK/4 = 100 / 4 = 25 (18.75 for 150 Mhz devices)
For McBSP:
"Serial port performance is limited by I/O buffer switching speed. Internal prescalers must be adjusted such that the peripheral speed is less
than the I/O buffer speed limit."
"For all SPI slave modes, CLKX must be a minimum of 8 CLKG cycles. Also CLKG should be LSPCLK/2
by setting CLKSM = CLKGDV = 1. With maximum LSPCLK speed of 75 MHz, CLKX maximum frequency
is LSPCLK/16 , that is 4.6875 MHz and P = 13.3 ns."
I want to receive 10 MBit/s stream with 20 MHz clock from ADC. I can?