xPC Target | ![]() ![]() |
This block programs the AMD9513A for capturing FM signals.
There is one output for relative frequency compared to the base frequency. To get the actual frequency, multiply the base frequency by the relative frequency.
The FM signal has to enter the pin named GATE of the corresponding counter channel. The CLK pin has to be left unconnected.
Scaling Input to Output
Hardware Output |
Block Input Data Type |
Scaling |
TTL |
double |
0 to 1 |
Driver Block Parameters
Counter -- From the list, choose 1
, 2
, 3
, 4
, or 5
. This selects which counter the driver block uses to determine the FM. In each case, one block is needed for each counter.
Frequency base -- From the list, choose F1=5MHz
, F2=500kHz
, F3=50kHz
, F4=5kHz
, or F5=500Hz
to set the base frequency.
Sample time -- Enter the base sample time or a multiple of the base sample time. The sample time indicates the update rate of registration on the input (Duty Cycle)
Base address -- Enter the base address of the board. This entry must corresponds to the DIP-switch settings on the board. For example, if the base address is 300 (hexadecimal), enter
![]() | DM6804 PWM Capture | DM6804xx | ![]() |