Changes between Version 2 and Version 3 of SPI
- Timestamp:
- 11/30/2017 09:37:44 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SPI
v2 v3 14 14 15 15 16 == On-Board SPI controllers == 17 18 === Newport / Ventana === 19 Various Gateworks boards support 3.3V TTL SPI to an off-board expansion connector with a single CS#: 20 ||= Family =||= Board =||= Device =||= Connector =|| 21 || Newport || GW630x || SPI0 || J8 || 22 || || GW640x || SPI0 || J8 || 23 || || 24 || Ventana || GW552x || ECSPI3 || J24 || 25 || || GW54xx-E+ || ECSPI2 || J32 || 26 27 Pinout (all signals are 3.3V TTL): 28 * 1 - MOSI 29 * 2 - MISO 30 * 3 - SCLK 31 * 4 - SS0# 32 * 5 - 3.3V 33 * GND 34 35 === Laguna === 36 While SPI is used for on-board FLASH storage for many Laguna boards, it also is brought out to the J9 expansion connector available on the Laguna GW2388: 37 * J9.2 - CS# 38 * J9.4 - SCLK 39 * J9.6 - MISO 40 * J9.8 - MOSI 41 * J9.10 - GND 42 43 [[Image(spi2388.png,800px)]] 44 45 46 [=#usb] 16 47 == USB Expansion devices == 17 48 A SPI master can also be added via USB expansion. For example: … … 20 51 21 52 22 == Ventana == 23 24 === GW5220 === 25 The i.MX6 Ventana GW5220 brings out the IMX6 ECSPI3 bus to the 6-pin J24 expansion connector for connection to a 3.3V TTL SPI slave device: 26 * J24.1 - MOSI 27 * J24.2 - MISO 28 * J24.3 - SCLK 29 * J24.4 - SS0# 30 * J24.5 - 3.3V 31 * J24.6 - GND 32 33 === GW54xx (Revision E+) === 34 The i.MX6 Ventana GW54xx brings out the IMX6 ECSPI2 bus to the 6-pin J32 expansion connector for connection to a 3.3V TTL SPI slave device: 35 * J32.1 - MOSI 36 * J32.2 - MISO 37 * J32.3 - SCLK 38 * J32.4 - SS0# 39 * J32.5 - 3.3V 40 * J32.6 - GND 41 42 === Adding Kernel Support for Specific SPI Devices === 53 [=#spidev] 54 == Adding Kernel Support for Specific SPI Devices == 43 55 In order to support the specific device you plan to connect an addition to the GW5220 device tree must be made. 44 56 … … 68 80 When searching for your device ID string or its controlling driver, searching via a LXR site like the one at [https://lxr.missinglinkelectronics.com/linux missing link electronics] for your device name can be helpful. 69 81 70 71 == Laguna ==72 While SPI is used for on-board FLASH storage for many Laguna boards, it also is brought out to the J9 expansion connector available on the Laguna GW2388:73 * J9.2 - CS#74 * J9.4 - SCLK75 * J9.6 - MISO76 * J9.8 - MOSI77 * J9.10 - GND78 79 [[Image(spi2388.png,800px)]]80 81 82 == spidev - Userspace SPI API == 82 83