| Electronic Components Datasheet Search |
|
90E21 Datasheet(PDF) 16 Page - Integrated Device Technology |
|
|
|||||||||||||||||||||||||||||
90E21 Datasheet(HTML) 16 Page - Integrated Device Technology |
|
16 / 57 page ![]() 90E21/22/23/24 SINGLE-PHASE HIGH-PERFORMANCE WIDE-SPAN ENERGY METERING IC Interface 16 January 10, 2012 4INTERFACE 4.1 SERIAL PERIPHERAL INTERFACE (SPI) SPI is a full-duplex, synchronous channel. There are two SPI modes: four-wire mode and three-wire mode. In four-wire mode, four pins are used: CS, SCLK, SDI and SDO. In three-wire mode, three pins are used: SCLK, SDI and SDO. Data on SDI is shifted into the chip on the rising edge of SCLK while data on SDO is shifted out of the chip on the falling edge of SCLK. The LastSPIData register (06H) stores the 16-bit data that is just read or written. 4.1.1 FOUR-WIRE MODE In four-wire mode, the CS pin must be driven low for the entire read or write operation. The first bit on SDI defines the access type and the lower 7-bit is decoded as address. Read Sequence As shown in Figure-6, a read operation is initiated by a high on SDI followed by a 7-bit register address. A 16-bit data in this register is then shifted out of the chip on SDO. A complete read operation contains 24 cycles. Figure-6 Read Sequence in Four-Wire Mode Write Sequence As shown in Figure-7, a write operation is initiated by a low on SDI followed by a 7-bit register address. A 16-bit data is then shifted into the chip on SDI. A complete write operation contains 24 cycles. Figure-7 Write Sequence in Four-Wire Mode CS SCLK SDI SDO 10 1234 5 6789 11 12 13 14 15 16 17 18 19 20 21 22 24 A0 A6 A5 A4 A3 A2 A1 Register Address High Impedance D15 Don't care D0 16-bit data 23 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 CS SCLK SDI SDO 10 1 2 3 4 5 6789 11 12 13 14 15 16 17 18 19 20 21 22 23 A0 A6 A5 A4 A3 A2 A1 16-bit data High Impedance D0 D7 D6 D5 D4 D3 D2 D1 Register Address D15 24 D14D13 D12D11 D10 D9 D8 |
|
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 |