59 | | eCSPI{1,2,3} supports data rate up to 52Mbits/s and SPI is a 1bit bus, thus the max bus speed is 52MHz. |
| 59 | While the IMX8MM Datasheet states SPI suports data rates of up to 52Mbits/s the timing details show the following for eCSPI{1,2,3} clock: |
| 60 | * Master mode (Table 30) clk: 23MHz/66Mhz read/write |
| 61 | * Slave mode (Table 31) clk: 66Mhz/23MHz read/write |
| 62 | |
| 63 | While the IMX8MP Datasheet states SPI suports data rates of up to 52Mbits/s the timing details shows the following for eCSPI{1,2,3} clock: |
| 64 | * Master Mode (Table 37) |
| 65 | || bus || muxed from || master read (Mhz) || master write (MHz) || |
| 66 | || SPI1 || I2C1/I2C2 || 25 || 50 || |
| 67 | || SPI1 || SPI2 || 30 || 60 || |
| 68 | || SPI2 || SD2 || 30 || 60 || |
| 69 | || SPI2 || SPI2 || 25 || 50 || |
| 70 | || SPI2 || I2C3/I2C4 || 20 || 40 || |
| 71 | || SPI3 || UART1/UART2 || 25 || 50 || |
| 72 | * Slave Mode (Table 38) |
| 73 | * 66Mhz/23MHz read/write |