| поискавой системы для электроныых деталей |
|
STGAP1S датащи(PDF) 47 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STGAP1S датащи(HTML) 47 Page - STMicroelectronics |
|
47 / 67 page ![]() DocID027190 Rev 3 47/67 STGAP1S Programming manual 67 9 Programming manual 9.1 SPI commands The commands summary is given in Table 13. 9.1.1 StartConfig and StopConfig commands To configure the device it must be switched to the configuration mode. To switch the device to the configuration mode the StartConfig command must be sent. This command is accepted when the SD line is low only. If the command has been correctly received and interpreted, the IC registers writing is enabled. The SD pin must be kept low during the configuration. If the SD pin is raised during the configuration procedure the device immediately quits the configuration mode causing a fault error indicated by the REGERRL and REGERRR bits. In this case all the changes operated on device configuration are undone and the previous configuration is restored. At the end of the device setup the StopConfig command has to be sent in order to quit the configuration mode and make all changes effective. Table 13. SPI commands Command mnemonic Command value Action Notes StartConfig 0 0 1 0 1 0 1 0 Device configuration start Enter CFG mode SD low only StopConfig 0 0 1 1 1 0 1 0 Device configuration/check completed Leave CFG mode SD low only NOP 0 0 0 0 0 0 0 0 No operation WriteReg 1 0 0 A A A A A Write AAAAA register CFG mode only ReadReg 1 0 1 A A A A A Read AAAAA register ResetStatus 1 1 0 1 0 0 0 0 Reset all the status registers SD low only GlobalReset 1 1 1 0 1 0 1 0 Global reset CFG mode only Sleep 1 1 1 1 0 1 0 1 Device enters in standby mode SD low only Table 14. StartConfig command synopsis Byte 1 2 To device 0010 1010 1101 1010(1) 1. The CRC byte of the command, if the CRC check is disabled this byte is ignored. Table 15. StopConfig command synopsis Byte 1 2 To device 0011 1010 1010 1010(1) 1. The CRC byte of the command, if the CRC check is disabled this byte is ignored. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |