Setting the HAL Timer Period

The HAL Timer Period is an internal timer that RTX applications use for synchronization. The default value for the HAL Timer Period is 100 microseconds. If the requirements of an RTX application specify a HAL Timer Period of a different resolution, then this setting may need to be changed.

To set the HAL timer period:

  1. Open the RTX Properties Control Panel and click the System tab.
  2. Click Settings to display the Behavior Settings dialog box.


  3. Select a period from the HAL timer period (microseconds) menu. Options vary depending on whether RTX is installed on an APIC or PIC system:

Also, if you have configured a custom HAL timer period, using the RtcplSetHALTimerPeriod API call, that custom period will appear in the HAL timer period menu.

NOTE:  If you set the HAL timer period to a value under 10 microseconds, you may negatively affect the behavior of the Windows operating system. This is because, on a slower system, processing the timer tick may take longer than the set HAL timer period. If you select a value less than 10 ms, you should test that value for all systems you plan to support.

  1. Click OK.
  2. Restart RTX for your changes to take effect.

 

See Also

IntervalZero.com | Support | Give Feedback