| Electronic Components Datasheet Search |
|
INA333 Datasheet(PDF) 25 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
INA333 Datasheet(HTML) 25 Page - Texas Instruments |
|
25 / 49 page ![]() PGA280 GPIO CS SCLK MOSI MISO CS SCLK SDI SDO CS SCLK SDI SDO CS SCLK SDI SDO SPI Master Addressing MUX0 MUX1 MUX2 External MUX A/D Converter ShiftRegister orDAC ExtendedChip-Select ExternalMUXControl OR 25 PGA280 www.ti.com SBOS487B – JUNE 2009 – REVISED MARCH 2020 Product Folder Links: PGA280 Submit Documentation Feedback Copyright © 2009–2020, Texas Instruments Incorporated Device Functional Modes (continued) This CS pin (ECS) stays low as long as CS to the PGA280 is held low. The PGA280 SDO is turned to a high- impedance output (and requires external termination). The PGA280 ignores both clock and data signals during this time. Therefore, data can be read and written to another device selected by the ECS port. Communication is terminated by setting CS (to the PGA280) to high; this toggle also sets the port ECS to high and terminates the I/O transfer with the other device. Figure 50 shows the timing for the GPIO-generated ECS pulse in clock mode SPOL = 1 (SCLK is high after CS asserts low). Register 2 allows activating SPOL = 0 by writing a 1 to the CP bit, according to SPI mode1. The initial setting is SPOL = 1. Mode1; set bit to 1: a positive edge of SCLK follows after ECS asserts low (CP = 0). See the red edge of the GPIO trace in Figure 50. Mode2; set bit to 0: a negative edge of SCLK follows after ECS asserts high (CP = 1). See the black edge of the GPIO trace in Figure 50. The negative edge of SCLK senses data. The positive edge of SCLK sets data on the data out line (if applicable). For SPI modes 0 or 3, SCLK must be inverted to indirectly sense data with the positive edge of SCLK. Figure 51 shows an example of connecting additional SPI devices, addressed by the ECS. The OR connection for SDO can be a wired-OR if all devices provide a 3-state output option with the respective device CS (ECS) set high. The SPI interface allows clock rates higher than 10 MHz. Clock rates less than 10 MHz are recommended when using the ECS mode for less critical printed circuit board (PCB) layout and timing. Observe delays and distortion generated from isolation couplers. External drivers may be required to drive long and terminated cables. With only four isolation couplers (digital galvanic isolation) connected in the SPI wires, the SPI can provide galvanic isolation for input and output channels. Figure 51 shows a block diagram of how to connect SPI devices selected by the ECS (extended CS) signal. Isolation couples or long SPI cables in harsh industrial environment are sensitive to impairments. For improved communication integrity, the communication can be extended with a checksum byte. Figure 51 shows an example of the GPIO pins used for both the extended chip select and special functions. The chip select (CS) is connected to the PGA280 alone. The serial data input (SDI) and the serial clock (SCLK) are shared connections, and are connected to all devices [PGA280, A/D converter, and the shift register or digital-to-analog converter (DAC)]. The serial data output comes from each of the devices and are OR-connected or sent to an OR gate, to be received by the master. An OR gate is only required if the connected devices do not support 3-state operation. The PGA280 provides a 3-state output if not active. Pullup resistors may be required. As mentioned previously, the GPIO pins are used to control an external multiplexer. In Figure 51, the three pins from GPIO0, GPIO1, and GPIO2 are used as a MUX address. Two other GPIO pins are used as ECS to enable communications with other slave devices. Figure 51. Example for Connecting Two Additional SPI Devices Selected by ECS |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |