Specifications
14 National Instruments
14-20
PC-TIO-10 Counter PWM
The PC-TIO-10 has two AM9513A chips each with 5 counters for a total of 10
counters on the board.
The PC-TIO-10 PWM driver programs the AM9513A for PWM (Pulse Width
Modulation) signal generation (a square wave with fixed frequency and
variable duty cycle). The block has one input which defines the variable duty
cycle between 0 and 1.
Scaling Input to Output
Driver Block Parameters
Counter - From the list, choose 1, 2, 3, 4, 5, 6, 7, 8, 9, or 10 to select which
counter is used with this driver block. In each case, one block is needed for each
counter.
Frequency Base - From the list, choose F1=1MHz, F2=100kHz, F3=10kHz,
F4=1kHz, or F5=100Hz to set the base frequency.
Relative Output Frequency - Enter a value less than 1. The Relative
Output Frequency is multiplied by the FrequencyBase to set the fixed
output frequency of the PWM-signal.
For example, if the output frequency of a square wave has to be 17.5 kHz, then
choose F2=100kHz as the Frequency Base and enter
0.175 as the Relative
Output Frequency. 100kHz x 0.175 = 17.5 kHz
Initial Duty Cycle - Enter a value between 0 and 1 to set the initial duty cycle.
The Duty Cycle defines the duty cycle at the initialization phase of the driver
similar to a initial value of an integrator.
Initial Toggle State - From the list, choose high or low. The Initial Toggle
State sets the digital level (high or low) of the output. For example, if the
Initial Duty Cycle is 0.25 and the Initial Toggle State is High, the first 25% of
the period will have a high-level and the last 75% will have a low-level.
Hardware Input Block Output Data Type Scaling
TTL double 0 to 1