| Electronic Components Datasheet Search |
|
L99MD01 Datasheet(PDF) 24 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
L99MD01 Datasheet(HTML) 24 Page - STMicroelectronics |
|
24 / 54 page ![]() Functional description of the SPI L99MD01 24/54 Doc ID 17242 Rev 6 5.2 SPI communication flow 5.2.1 General description The proposed SPI communication is based on a standard SPI interface structure using CSN (Chip Select Not), SDI (Serial Data In), SDO (Serial Data Out/Error) and SCK (Serial Clock) signal lines. Maximum SPI frequency is 1 MHz. At the beginning of each communication the master reads the <SPI-frame-ID> register (ROM address 3EH) of the slave device. This 8-bit register indicates the SPI frame length (24-bit for the L99MD01) and the availability of additional features. Each communication frame consists of an instruction byte which is followed by 2 data bytes (see 4H Figure 8). The data returned on SDO within the same frame always starts with the <Global Status> register. It provides general status information about the device. It is followed by 2bytes (i. e. ‘In-frame-response’, Figure 8). For write cycles the <Global Status> register is followed by the previous content of the addressed register. For read cycles the <Global Status> register is followed by the content of the addressed register. 5.2.2 Command byte Each communication frame starts with a command byte. It consists of an operating code which specifies the type of operation (<Read>, <Write>, <Read and Clear Status>, <Read Device Information>) and a 6 bit address. Table 18. Command byte (8 bit) Operating code Address Bit 23222120 1918 17 16 Name OC1 OC0 A5 A4 A3 A2 A1 A0 Table 19. Data byte Data byte 1 Data byte 0 Bit 15 14 13 12 11 10 9876 543 210 Name D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Table 20. Operating code definition OC1 OC0 Meaning 0 0 <Write mode> 0 1 <Read mode> 1 0 <Read and clear status> 1 1 <Read device information> |
|
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 |