DNA/DNR-IRIG-650 IRIG Timing Layer
Chapter 3
32
Programming with the Low Level API
Tel: 508-921-4600
www.ueidaq.com
Vers:
4.6
Date: March 2019
DNx-IRIG-650 Chap3x.fm
© Copyright 2019
United Electronic Industries, Inc.
CT650_OUT_CFG_SRC_SYNC3
- Drive output from sync[3]
CT650_OUT_CFG_SRC_SYNC2
- Drive output from sync[2]
CT650_OUT_CFG_SRC_SYNC1
- Drive output from sync[1]
CT650_OUT_CFG_SRC_SYNC0
- Drive output from sync[0]
CT650_OUT_CFG_CR_OUT
- Output carrier frequency
CT650_OUT_CFG_SRC_CR
- Custom frequency output (from PLL)
CT650_OUT_CFG_SRC_10MHZ
- Precision 10MHz
CT650_OUT_CFG_SRC_5MHZ
- Precision 5MHz
CT650_OUT_CFG_SRC_1MHZ
- Precision 1MHz
CT650_OUT_CFG_SRC_NRZS
- Output DCLS / NRZ start strobe
CT650_OUT_CFG_SRC_MII
- Manchester-II output time code
CT650_OUT_CFG_SRC_NRZ
- DCLS/NRZ-L output time code
CT650_OUT_CFG_SRC_1GPS
- Re-route GPS 1PPS pulse
CT650_OUT_CFG_SRC_1PPH
- 1PPH pulse
CT650_OUT_CFG_SRC_1PPM
- 1PPM pulse
CT650_OUT_CFG_SRC_1PPS
- 1PPS pulse
CT650_OUT_CFG_SRC_0_1S
- 0.1sec pulse
CT650_OUT_CFG_SRC_0_01S
- 0.01sec pulse
CT650_OUT_CFG_SRC_1
- Drive output with 1
CT650_OUT_CFG_SRC_0
- Drive output with 0
Note that to output a time code (NRZ/MII) both the Time Encoder & Decoder
must have already been configured as in the above section.
DqAdv650AssignTTLOutputs
can also be used to re-route signals to the
SYNCx line (internal synchronization lines between the layers in the same IOM):
ret = DqAdv650AssignTTLOutputs(hd, devn,
CT650_OUT_SYNCEN0|CT650_OUT_SYNCEN1|CT650_OUT_SYNCEN2|
CT650_OUT_SYNCEN3,
DQ_CT650_TTL_SYNCX,
CT650_OUT_CFG_SRC_1PPS,
CT650_OUT_CFG_SRC_1PPS,
CT650_OUT_CFG_SRC_1PPS, CT650_OUT_CFG_SRC_1PPS);
CT650_OUT_SYNCENx
constants are used to enable a SYNC line for output:
#define
CT650_OUT_SYNCEN3 (1L<<27)
// =1 -
Enable SYNC3 buffer
#define
CT650_OUT_SYNCEN2 (1L<<26)
// =1 -
Enable SYNC2 buffer
#define
CT650_OUT_SYNCEN1 (1L<<25)
// =1 -
Enable SYNC1 buffer
#define
CT650_OUT_SYNCEN0 (1L<<24)
// =1 -
Enable SYNC0 buffer
The current state of SYNC line can be routed to any TTL Out line using one of
the
CT650_OUT_CFG_SRC_SYNCx
constants.
NOTE:
Make sure that no two layers actively are driving the same SYNC line
simultaneously.