(Page 4 of 4 in this chapter)


5.3 MC1 Clock Configuration Example

There are three chassis in the system. Each chassis has an MC1 board. Two of the MC1 boards have an AG-T1 board associated with them. The third MC1 board is the MC1 bus master and drives the MC1 left clock. The AG-T1 boards drive the SEC8K signal on the MVIP bus from their independent PSTN network connections. One of the MC1 boards synchronizes to the SEC8K signal on the MVIP bus and drives the 8KREF signal on the MC1 bus. The third MC1 board which is the MC1 bus master synchronizes to the 8KREF signal.

Refer to the MC1 Installation and Developer's Manual for more information about MC1.

This example:

  1. Configures the MC1 board to drive the 8KREF signal on the MC1 bus from the SEC8K signal on the MVIP bus. (The SEC8K signal is being driven by the associated AG-T1 board from its PSTN connection).

    
    
  2. Explains what to do if the AG-T1 board (associated with the MC1 board that is driving the 8KREF signal on the MC1 bus) loses its PSTN connection. You would configure the MC1 board to no longer drive the 8KREF signal. You would also configure the other MC1 board that is associated with the other AG-T1 board to drive the 8KREF signal.

    
     Example

  3. Configure the MC1 board to drive the 8KREF signal on the MC1 bus from the SEC8K signal on the MVIP bus. (The SEC8K signal is being driven by the associated AG-T1 board from its PSTN connection).

    
     void myMc1Initialize(SWIHD mc1hd)
    {
    SWI_CLOCK_ARGS boardclock;

    /*
    * Make MC1 board be a slave, with clock source coming from the left,
    * and make it fall back to right clock if it loses the left clock.
    * Also, make this MC1 board drive the 8KREF signal on the MC1 bus that
    * the MC1 primary master will sync to.
    */

    boardclock.size = sizeof(SWI_CLOCK_ARGS);
    boardclock.clocktype = MVIP95_MC1_CLOCKING;
    boardclock.clocksource = MVIP95_SOURCE_MC1_LEFT;
    boardclock.network = 0;
    boardclock.ext.mc1.mc1clockmode = MVIP95_MC1_SLAVE;
    boardclock.ext.mc1.autofallback = MVIP95_MC1_ENABLE_AUTO_FB;
    swiConfigBoardClock(mc1hd, &boardclock);

    /* Make MC1 8KREF come off SEC8K on MVIP bus */
    swiConfig8KRefClock(mc1hd, MVIP95_SOURCE_SEC8K, 0);
    }

This is the state of the system after you have configured one MC1 board to drive the 8KREF signal on the MC1 bus.

Figure 14. State of the System

  • If the AG-T1 board (associated with the MC1 that is driving the 8KREF signal on the MC1 bus) loses its PSTN connection, configure the MC1 board to no longer drive the 8KREF signal. Instead, configure the other MC1 board that is associated with the other AG-T1 board to drive the 8KREF signal.

    
     /* Disable first MC1 from driving the 8KREF signal on the MC1 bus */
    swiConfig8KRefClock(mc1hd1, MVIP95_SOURCE_DISABLE, 0);

    /* Make second MC1 drive the 8KREF signal from SEC8K signal on the MVIP bus */
    swiConfig8KRefClock(mc1hd2, MVIP95_SOURCE_SEC8K, 0);

    This is the state of the system after the first AG-T1 board has lost its PSTN connection and you have configured the other MC1 board to drive the 8KREF signal on the MC1 bus.

    Figure 15. State of the System



  • (Page 4 of 4 in this chapter)


    tech_support@nmss.com
    Copyright © 1997, Natural MicroSystems, Inc. All rights reserved.