Skip to main content
Skip table of contents

2.10.1.7 - Frequency Output (Mode 7) [UE9 Datasheet]

Outputs a square wave at a frequency determined by TimerClockBase/(TimerClockDivisor* 2*Timer#Value). The Value passed should be between 0-255, where 0 is a divisor of 256. By changing the clock configuration and timer value a wide range of frequencies can be output. The maximum frequency is 48000000/2 = 24 MHz. The minimum frequency is (750000/256)/(2*256) = 5.7 Hz.

The frequency output has a -3 dB frequency of about 10 MHz on the FIO lines. Accordingly, at high frequencies the output waveform will get less square and the amplitude will decrease.

The output does not necessarily start instantly, but rather has to wait for the internal clock to roll. For the Frequency Output mode, the start delay varies from 0.0 to TimerClockDivisor*256/TimerClockBase. For example, if TimerClockBase = 48 MHz and TimerClockDivisor = 256, the start delay will vary from 0 to 1.4 ms.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.