| Electronic Components Datasheet Search |
|
VN9D5D20F Datasheet(PDF) 20 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
VN9D5D20F Datasheet(HTML) 20 Page - STMicroelectronics |
|
20 / 96 page ![]() 4.2.2 Operating code definition The SPI interface features four different addressing modes which are listed in Table 18. Operating codes. Table 18. Operating codes OC1 OC0 Meaning 0 0 Write operation 0 1 Read operation 1 0 Read and clear status operation 1 1 Read device information Write mode The write mode of the device allows to write the content of the input data byte into the addressed register (see list of registers in Table 23. RAM memory map). Incoming data are sampled on the rising edge of the serial clock (SCK), MSB first. During the same sequence the outgoing data are shifted out MSB first on the falling edge of the CSN pin and the subsequent bits on the falling edge of the serial clock (SCK). The first byte corresponds to the Global Status Byte and the second to the previous content of the addressed register. Figure 8. SPI write operation 0 0 SDI SDO CSN MSB Address Command Byte (8 bits) Global Status Byte MSB LSB LSB MSB MSB (previous content of register) Data (16 bits) Data LSB LSB GADG311020171214MT Read mode The read mode of the device allows to read and to check the state of any register. Incoming data are sampled on the rising edge of the serial clock (SCK), MSB first. The command byte allows to determine which register content is read, whilst the other two data bytes are "don't care". In case of a read mode on an unused address, the global status/error byte on the SDO pin is followed by 0x0000 word. In order to avoid inconsistency between the Global Status byte and the Status register, the Status register contents are frozen during the SPI communication. VN9D5D20F SPI protocol DS12936 - Rev 6 page 20/96 |
|
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 |