| Moteur de recherche de fiches techniques de composants électroniques |
|
L99MM70XP Fiches technique(PDF) 51 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
L99MM70XP Fiches technique(HTML) 51 Page - STMicroelectronics |
|
51 / 68 page ![]() L99MM70XP SPI control and status registers Doc ID 022637 Rev 2 51/68 9 SPI control and status registers 9.1 Functional description of the SPI For a general description of the SPI please refer to chapter Serial peripheral interface (ST SPI standard). 9.1.1 SPI communication flow At the beginning of each communication the master can read the contents of the <SPI- frame-ID> register (ROM address 3Eh) of the slave device. This 8 bit register indicates the SPI frame length (24 bit) and the availability of additional features. Each communication frame consists of a command byte which is followed by 2 data bytes. The data returned on DO within the same frame always starts with the <Global Status Byte>. It provides general status information about the device. It is followed by 2 data bytes (i.e. “in-frame-response”). For write cycles the <Global Status Byte> is followed by the previous content of the addressed register. 9.1.2 Command byte OCx: operation code Ax: address Dx: data bit 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>, <Read Device Information>) and a 6 bit address. If less than 6 bits are required, the remaining bits are unused but are reserved. 9.1.3 Operation code definition Table 27. Command byte Command byte Data byte 1 Data byte 2 Bit 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 76543 210 Name OC1 OC0 A5 A4 A3 A2 A1 A0 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Table 28. Operation code definition OC1 OC0 Meaning 0 0 <Write Mode> 0 1 <Read Mode> 1 0 <Read and Clear Mode> 1 1 <Read Device Information> |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants 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 |