| Electronic Components Datasheet Search |
|
L9779WD-SPI Datasheet(PDF) 108 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
L9779WD-SPI Datasheet(HTML) 108 Page - STMicroelectronics |
|
108 / 141 page ![]() Functional description L9779WD-SPI 108/141 DocID027721 Rev 2 6.16 Serial interface The L9779WD-SPI offers the possibility to communicate with a £gC using the Serial Peripheral Interface (SPI). The serial communication is used: to set the parameter to read diagnosis to activate, to deactivate and to use the Query/Answer protocol to activate, to deactivate and to use the low side drivers to activate test mode (ST reserved) 6.16.1 SPI interface The SPI interface consists of an input shift register, output shift register and four control signals. DIN is the data input to the input shift register. DO is the data output from the output shift register. SCK is the clock source input while CS is the active low chip select input. 6.16.2 SPI protocol All SPI communications are executed in exact 16 bit increments. The L9779WD-SPI contains a data validation method through the SCK input to keep transmissions with not exactly 16 bits from being written to the device. The SCK input counts the number of received clocks and should the clock counter exceed or count fewer than 16 clocks, the received message is discarded without changes to internal registers. The general format of the 16 bit transmission for global SPI interface is shown here below: Data to the device (i.e. DIN) consists of a five address bit, eight data bit and data parity. DIN data is the data to be written to the register indicated by address bit. Data returned from the device (i.e. DO) consists of SPI error bit, five address bit, eight data bit and data parity. DO data will be the contents of the register indicated by the address bits. The communications is controlled through CS, enabling and disabling communication. When CS is at logic high, all SPI communication I/O is tri-stated and no data is accepted. When CS is low, data is latched on the rising edge of SCLK and data is shifted on the falling edge. The DIN pin receives serial data from the master with MSB first. Likewise for DO, data is read MSB first, LSB last. The failed transmission is indicated in the SPI_ERR bit. Table 55 reports register addresses. Registers differ between write-only and read-only registers. Write-only registers return all zeroes in MISO DO-DATA OUT field of next frame, with the exception of CLOCK_UNLOCK_RSRST and START_REACT, which return LOCK and OUT_DIS status bit. D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 DIN X ADD(4) ADD(3) ADD(2) ADD(1) ADD(0) X DATA IN or SUBADDRESS (if ADD[4:0]= 0x10) Parity DO SPI error ADD(4) ADD(3) ADD(2) ADD(1) ADD(0) W/R DATA OUT Parity |
|
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 |