Part Number: TMS320F280025C
19.2.2 HRCAP Initialization Sequence Following are the HRCAP initialization sequence steps. When using the HRCAP to take relative-time measurements, only steps 1-5 are required. When using the HRCAP to take time-converted measurements, all steps are required. 1. Enable HRCLK using HRCAP_enableHighResolutionClock() 2. Delay 1 µS 3. Enable HR mode using HRCAP_enableHighResolution() 4. Delay 1 µS 5. Configure the eCAP module as desired, including interrupts 6. Set calibration period using HRCAP_setCalibrationPeriod() 7. Enable continuous calibration using HRCAP_setCalibrationMode() 8. Enable interrupts using HRCAP_enableCalibrationInterrupt() 9. Start calibration using HRCAP_startCalibration()
why delay is required here ?
