Changes between Version 21 and Version 22 of SPI


Ignore:
Timestamp:
10/02/2024 07:22:47 PM (2 weeks ago)
Author:
Tim Harvey
Comment:

IMX8M (Venice): added datasheet details about max spi frequency depending on SoC, pins, and direction

Legend:

Unmodified
Added
Removed
Modified
  • SPI

    v21 v22  
    5757Gateworks uses the eCSPI modules of the i.mx8 for external connections. The FlexSPI or QSPI is not used, as this is typically used for flash devices, etc.
    5858
    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.
     59While 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
     63While 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
    6074
    6175Typical pins exposed are:
    6276- MOSI
    6377- MISO
    64 - SCLK (Up to 52MHz clock supported)
    65 - SS0# (This is chip select 0)
     78- SCLK
     79- SS0# (This is chip select 0 but note that Linux and U-Boot support any gpio as a chip select)
    6680
    6781