| поискавой системы для электроныых деталей |
|
STGAP1ASTR датащи(PDF) 48 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STGAP1ASTR датащи(HTML) 48 Page - STMicroelectronics |
|
48 / 70 page ![]() Programming manual STGAP1AS 48/70 DocID029344 Rev 2 9 Programming manual 9.1 SPI commands The commands summary is given in Table 13. 9.1.1 StartConfig and StopConfig commands Device parameters are configured by writing configuration values in configuration registers (CFGx and DIAGxCFG), which is only possible by entering in 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 whole configuration procedure, which is terminated by the StopConfig command. 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. 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 |