Lines Matching +full:spi +full:- +full:cs +full:- +full:high

1 .. SPDX-License-Identifier: GPL-2.0-only
30 ------------------
32 Devices of the AD4000 series can be connected to the SPI host controller in a
35 CS mode, 3-wire turbo mode
38 Datasheet "3-wire" mode is what most resembles standard SPI connection which,
39 for these devices, comprises of connecting the controller CS line to device CNV
40 pin and other SPI lines as usual. This configuration is (misleadingly) called
41 "CS Mode, 3-Wire Turbo Mode" connection in datasheets.
42 NOTE: The datasheet definition of 3-wire mode for the AD4000 series is NOT the
43 same of standard spi-3wire mode.
45 it requires the SPI controller to support the ``SPI_MOSI_IDLE_HIGH`` feature.
47 Omit the ``adi,sdi-pin`` property in device tree to select this mode.
51 +-------------+
52 + ----------------------------------| SDO |
54 | +-------------------| CS |
56 | +--------------------+ | HOST |
58 +--->| SDI AD4000 SDO |-------->| SDI |
60 +--------------------+ | |
62 +--------------------| SCLK |
63 +-------------+
65 CS mode, 3-wire, without busy indicator
68 Another wiring configuration supported as "3-wire" mode has the SDI pin
69 hard-wired to digital input/output interface supply (VIO). In this setup, the
71 is not possible. This connection mode saves one wire and works with any SPI
74 Set the ``adi,sdi-pin`` device tree property to ``"high"`` to select this mode.
78 +-------------+
79 +--------------------| CS |
81 VIO +--------------------+ | HOST |
83 +--->| SDI AD4000 SDO |-------->| SDI |
85 +--------------------+ | |
87 +--------------------| SCLK |
88 +-------------+
91 the previous wiring configuration but saves the use of a CS line.
95 +-------------+
96 +--------------------| GPIO |
98 VIO +--------------------+ | HOST |
100 +--->| SDI AD4000 SDO |-------->| SDI |
102 +--------------------+ | |
104 +--------------------| SCLK |
105 +-------------+
107 CS mode, 4-wire without busy indicator
110 In datasheet "4-wire" mode, the controller CS line is connected to the ADC SDI
114 Set ``adi,sdi-pin`` to ``"cs"`` to select this mode.
119 +-------------+
120 + ----------------------------------| CS |
122 | +-------------------| GPIO |
124 | +--------------------+ | HOST |
126 +--->| SDI AD4000 SDO |-------->| SDI |
128 +--------------------+ | |
130 +--------------------| SCLK |
131 +-------------+