| 数据搜索系统,热门电子元器件搜索 |
|
ADIS16228/PCBZ 数据表(PDF) 23 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADIS16228/PCBZ 数据表(HTML) 23 Page - Analog Devices |
|
23 / 28 page ![]() Data Sheet ADIS16228 Rev. B | Page 23 of 28 SYSTEM TOOLS Table 63 provides an overview of the control registers that provide support for system-level functions. Table 63. System Tool Register Addresses Register Name Address Description FLASH_CNT 0x00 Flash memory write cycle count DIO_CTRL 0x36 Digital I/O configuration GPIO_CTRL 0x38 General-purpose I/O control DIAG_STAT 0x3C Status/error flags GLOB_CMD 0x3E Global commands LOT_ID1 0x52 Lot Identification Code 1 LOT_ID2 0x54 Lot Identification Code 2 PROD_ID 0x56 Product identification SERIAL_NUM 0x58 Serial number USER_ID 0x5C User identification register GLOBAL COMMANDS The GLOB_CMD register (see Table 64) provides an array of single-write commands for convenience. Setting the assigned bit to 1 activates each function. When the function completes, the bit restores itself to 0. For example, clear the capture buffers by setting GLOB_CMD[8] = 1 (DIN = 0xBF01). All of the commands in the GLOB_CMD register require that the power supply be within normal limits for the execution times listed in Table 64. Table 64. GLOB_CMD (Base Address = 0x3E), Write Only Bits Description Execution Time 15 Clear autonull correction 35 µs 14 Retrieve spectral alarm band infor- mation from the ALM_PNTR setting 40 µs 13 Retrieve record data from flash memory 1.9 ms 12 Save spectral alarm band registers to flash memory 461 µs 11 Record start/stop N/A 10 Set BUF_PNTR = 0x0000 36 µs 9 Clear spectral alarm band registers from flash memory 25.8 ms 8 Clear records 25.9 ms 7 Software reset 52 ms 6 Save registers to flash memory 29.3 ms 5 Flash test, compare sum of flash memory with factory value 5 ms 4 Clear DIAG_STAT register 36 µs 3 Restore factory register settings and clear the capture buffers 84 ms 2 Self-test, result in DIAG_STAT[5] 32.9 ms 1 Power-down N/A 0 Autonull 822 ms STATUS/ERROR FLAGS The DIAG_STAT register (see Table 65) provides a number of status/error flags that reflect the conditions observed in a recording during SPI communication and diagnostic tests. An error condition is indicated by a setting of 1; and all of the error flags are sticky, which means that they remain until they are reset by setting GLOB_CMD[4] = 1 (DIN = 0xBE10) or by starting a new recording event. DIAG_STAT[14:8] indicates which ALM_x_MAGx thresholds were exceeded during a recording event. The flag in DIAG_STAT[3] indicates that the total number of SCLK clocks is not a multiple of 16. Table 65. DIAG_STAT (Base Address = 0x3C), Read Only Bits Description (Default = 0x0000) 15 Not used (don’t care) 14 System alarm flag 13 Z-axis, Spectral Alarm 2 flag 12 Y-axis, Spectral Alarm 2 flag 11 X-axis, Spectral Alarm 2 flag 10 Z-axis, Spectral Alarm 1 flag 9 Y-axis, Spectral Alarm 1 flag 8 X-axis, Spectral Alarm 1 flag 7 Data ready/busy indicator (0 = busy, 1 = data ready) 6 Flash test result, checksum flag 5 Self-test diagnostic error flag 4 Recording escape flag, indicates use of the SPI-driven interruption command, 0xE8 3 SPI communication failure (SCLKs ≠ even multiple of 16) 2 Flash update failure 1 Power supply > 3.625 V 0 Power supply < 3.125 V POWER-DOWN To power down the ADIS16228, set GLOB_CMD[1] = 1 (DIN = 0xBE02). To reduce power consumption, set REC_CTRL1[7] = 1, which automatically results in a power-down after a record is complete. Toggle the CS line from high to low to wake up the device and place it in an idle state, where it waits for the next command. When DOI1 is configured as an external trigger, toggling it can wake up the device, as well. Using DIO1 for this purpose avoids the potential for multiple devices contending for DOUT when waking up with the CS line approach. After completing the record cycle, the device remains awake. Use GLOB_CMD[1] to put it back to sleep after reading the record data. |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |