fc422mexcalcbits - Calculate parameter values for Fastcom 422/2-PCI board
Syntax
MATLAB command line
[a b ] = fc422mexcalcbits(frequency)
[a b df] = fc422mexcalcbits(frequency)
Arguments
frequency | Desired baud rate for the board |
[a b] = fc422mexcalcbits(frequency) accepts
a baud rate (in units of baud/second) and converts this value into
two parameters a b. You must enter these values
for the parameter Clock bits of the
Fastcom 422/2-PCI driver clock. The desired baud rate (frequency)
must range between 30e3 and 1.5e6, which is a hardware limitation
of the clock circuit.
[a b df] = fc422mexcalcbits(frequency) accepts
a baud rate (in units of baud/second) and converts this value into
two parameters a b. You must enter these values
for the parameter Clock bits of the
Fastcom 422/2-PCI driver block. The third value, df,
indicates the actual baud rate that is created by the generated parameters a
b. The clock circuit has limited resolution and is unable
to perfectly match an arbitrary frequency. The desired baud rate (frequency)
must range between 30e3 and 1.5e6, which is a hardware limitation
of the clock circuit.
 | fclose | | fileinfo |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit