| Electronic Components Datasheet Search |
|
ADPD7008 Datasheet(PDF) 16 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADPD7008 Datasheet(HTML) 16 Page - Analog Devices |
|
16 / 71 page ![]() Data Sheet ADPD7008 THEORY OF OPERATION analog.com Rev. 0 | 16 of 71 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 OSC_CAL_ENABLE = 1 to enable the oscillator calibration circuitry. 2. Configure a GPIO to support the time stamp input using the appropriate GPIO_PIN_CFG_x bits. Select the matching GPIOx to provide the time stamp using the TIMESTAMP_ GPIO bits. 3. Configure the ADPD7008 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 11). For low frequency oscillator calibration, it is only required that the low frequency oscillator is 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 timestamp signal is captured unless the TIMESTAMP_ ALWAYS_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 GPIO 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 data normally during time stamp processing. If using a dedicated pin for a time stamp that does not have transitions other than the time stamp, set the TIMESTAMP_ AL- WAYS_EN bit to avoid automatic clearing of the CAPTURE_ TIME- STAMP bit. This setting removes the need to enable the time stamp capture each time. 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. 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 calibrate the 960 kHz low fre- quency 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 cy- cles to the actual time stamp trigger period and adjust the OSC_960K_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. Set OSC_CAL_ENABLE = 1 to enable the oscillator calibration circuitry. 2. Write 1 to the OSC_32M_CAL_START bit. 3. The ADPD7008 automatically powers up the high frequency oscillator. 4. The device automatically waits for the high frequency oscillator to be stable. 5. An internal counter automatically counts the number of 32 MHz high frequency oscillations that occur during 128 cycles of the 960 kHz low frequency oscillator. 6. The OSC_32M_CAL_COUNT bits update with the final count. 7. The 32 MHz oscillator automatically powers down following calibration unless time slots are active. 8. The device resets the OSC_32M_CAL_START bit indicating the count has updated. The OSC_32M_FREQ_ADJ bits adjust the frequency of the 32 MHz oscillator to the desired frequency. When using an external low frequency oscillator, the 32 MHz oscillator calibration is per- formed with respect to the externally provided low frequency oscilla- tor. When the calibrations of the low frequency and high frequency oscillators are complete, set CLK_CAL_ENA = 0 to disable the clocking of the oscillator calibration circuitry to reduce the power consumption. CLK_CAL_ENA defaults to 0 so that the calibration circuitry is disabled by default. EXECUTION MODES A state machine in the low frequency oscillator clock domain controls sleep times, wake-up cycles, and the start of time slot operations. The low frequency oscillator serves as the time base for all time slot operations, controls the sample rates, and clocks the low frequency state machine. This state machine controls all operations and is controlled by the OP_MODE bit. Table 11. OP_MODE Bit Setting Descriptions OP_MODE Setting Mode Description 000 Standby All operations stopped. Time slot actions reset. Low power standby state. 001 Go Transitioning to this state from standby mode starts time slot operations. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |