| поискавой системы для электроныых деталей |
|
ADPD4200 датащи(PDF) 20 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADPD4200 датащи(HTML) 20 Page - Analog Devices |
|
20 / 93 page ![]() Data Sheet ADPD4200 THEORY OF OPERATION analog.com Rev. 0 | 20 of 93 during time slot operation. Time stamping is supported by the use of any GPIOx as a time stamp request input, the CAPTURE_TIME- STAMP bit to enable capture of the time stamp trigger, a time counter running in the low frequency oscillator domain, and two output registers. The output bits include TIMESTAMP_COUNT_x, which holds the number of low frequency oscillator cycles between time stamp triggers, and TIMESTAMP_SLOT_DELTA, which holds the number of low frequency oscillator cycles remaining to the next time slot start. The setup for using the time stamp operation is as follows: 1. Set CLK_CAL_ENA = 1 to enable the oscillator calibration circuitry. 2. Configure a GPIOx to support the time stamp input using the appropriate GPIO_PIN_CFGx bits. Select the matching GPIOx to provide the time stamp using the TIMESTAMP_GPIOx bits. 3. Configure the ADPD4200 for operation and enable the low frequency oscillator. 4. If the TIMESTAMP_SLOT_DELTA function is desired, start the time slot operation by placing the device in go mode using the OP_MODE bit (see Table 14). For low frequency oscillator calibration, it is only required that the low frequency oscillator be enabled. The device does not have to be in go mode for low frequency oscillator calibration. Use the following procedure to capture the time stamp: 1. Set the CAPTURE_TIMESTAMP bit to 1 to enable the capture of the time stamp on the next rising edge of the selected GPIOx input. 2. The host provides the initial time stamp trigger on the selected GPIOx at an appropriate time. 3. The CAPTURE_TIMESTAMP bit is cleared when the time stamp signal is captured unless the TIMESTAMP_AL- WAYS_EN bit is set, in which case, the capture of the time stamp is always enabled. Reenable the capture if necessary. 4. The host provides a subsequent time stamp trigger on the selected GPIOx at an appropriate time. 5. The number of low frequency oscillator cycles that occurred between time stamp triggers can be read from the TIME- STAMP_COUNT_x bits. The host must continue to handle the FIFO and/or data register data normally during time stamp processing. If using a dedicated pin for a time stamp that does not have transi- tions other than the time stamp, set the TIMESTAMP_ALWAYS_EN bit to avoid automatic clearing of the CAPTURE_TIMESTAMP bit. This setting removes the need to enable the time stamp capture each time. The time stamp can calibrate the low frequency oscillator as described in the Low Frequency Oscillator Calibration section. The host can also use TIMESTAMP_SLOT_DELTA to determine when the next time slot occurs. TIMESTAMP_SLOT_DELTA can determine the arrival time of the samples currently in the FIFO. TIMESTAMP_SLOT_DELTA does not account for the decimation factor. The time stamp trigger is edge sensitive and can be set to either trigger on the rising edge (default) or falling edge using TIMESTAMP_INV. LOW FREQUENCY OSCILLATOR CALIBRATION The time stamp circuitry can be used to calibrate either the 32 kHz or 1 MHz low frequency oscillator circuit by adjusting the frequency to match the timing of the time stamp triggers. Simply compare the TIMESTAMP_COUNT_x value in low frequency oscillator cycles to the actual time stamp trigger period and adjust the OSC_32K_AD- JUST or OSC_1M_FREQ_ ADJ value accordingly. HIGH FREQUENCY OSCILLATOR CALIBRATION The high frequency oscillator is calibrated by comparing multiples of its cycles with multiple cycles of the low frequency oscillator, which is calibrated to the system time. Calibration of the low frequency oscillator precedes calibration of the high frequency oscillator. The method for calibrating the high frequency oscillator is as follows: 1. Write 1 to the OSC_32M_CAL_START bit. 2. The ADPD4200 automatically powers up the high frequency oscillator. 3. The device automatically waits for the high frequency oscillator to be stable. 4. An internal counter automatically counts the number of 32 MHz high frequency oscillations that occur during 128 cycles of the 1 MHz low frequency oscillator or 4 cycles of the 32 kHz low frequency oscillator, depending on which low frequency oscillator is enabled based on the setting of the LFOSC_SEL bit. 5. The OSC_32M_CAL_COUNT bits are updated with the final count. 6. The 32 MHz oscillator automatically powers down following calibration unless time slots are active. 7. The device resets the OSC_32M_CAL_START bit indicating the count has been updated. The OSC_32M_FREQ_ADJ bits adjust the frequency of the 32 MHz oscillator to the desired frequency. When using an exter- nal low frequency oscillator, the 32 MHz oscillator calibration is performed with respect to the externally provided low frequency oscillator. When low frequency oscillator and high frequency oscillator calibra- tions are complete, set the CLK_CAL_ENA bit = 0 to disable the clocking of the oscillator calibration circuitry to reduce power. The CLK_CAL_ENA bit defaults to 0 so that the calibration circuitry is disabled by default. |
|
ссылки 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 |