User guide

200 RealCT Direct API Developer Guide
Chapter 6: MVIP-95
Setting the Primary Clock
Set the H.100 clock during driver configuration using the
Configuration Wizard. For specific information about how to set
the H.100 clock during driver configuration, see the installation
and configuration guide that came with your software.
If you need to change clock parameters after installation, use
the MVIP95_CMD_CONFIG_BOARD_CLOCK function. If your
board is connected to an H.100 bus, use the H.100 data
structure to set the primary clock.
In the H.100 data structure you specify whether the board sets
the A clock, sets the B clock, or receives the clock signal from
either the A or B primary clock. In most systems, it is best to
have one board drive the A clock, one board drive the B clock,
and all other boards use the A clock as a reference.
If the A clock fails, all boards in the system switch to using the
B clock as long as the boards have fallback enabled. The clocks
stay in this mode until reprogrammed by the application.
For example, if you have a system with three H.100 compliant
boards, set the clock as follows:
1. Set the first board to drive the A clock
(
MVIP95_H100_MASTER_A) and to drive the clock from the
internal oscillator (
MVIP95_SOURCE_INTERNAL)
2. Set the second board to drive the B clock
(
MVIP95_H100_MASTER_B) and to drive the clock from the
internal oscillator (
MVIP95_SOURCE_INTERNAL)
3. Set the third board to receive the clock from the A clock on
the H.100 bus ((
MVIP95_H100_SLAVE),
(
MVIP95_SOURCE_H100_A).