RDK-12GSRD-ALTRA00
Evaluation Board User Guide Rev.0
PDS-061487 February 2017
9 of 26
Semtech
Proprietary & Confidential
www.semtech.com
1.2.2 Automatic Fractional Rate Selection
Whole frame rates, also known as PAL frame rates, can be any of: 24, 25, 30, 50, 60 frames
per second. Above SD-SDI serial rates, they are transmitted over SDI bit rates that are a
multiple of 1.485Gb/s, and Intel's SDI II MegaCore transmitter requires a Tx reference
clock of 297MHz.
Fractional frame rates, also known as NTSC frame rates, are typically 23.98, 29.97, or
59.94 video frames per second, or (whole rate)/1.001. Above SD-SDI serial rates, they are
transmitted over SDI bit rates that are a multiple of 1.485Gbps/1.001, and Intel's SDI II
MegaCore transmitter requires a Tx reference clock of 297MHz/1.001.
RDK-12GSRD-ALTRA00 Daughter Card can generate both 297MHz and 297MHz/1.001 Tx
reference clock for the FPGA's use (fed to the Arria 10 GX development board
differentially over pins D4 and D5 of the FMC connector). The rate can be manually
selected using jumper J4 (see
Figure 1-1 and Table 1-1). For any change in this setting to
take effect, the LMK03328 PLL must be power-cycled by toggling its PDN pin.
Automatic fractional rate selection can be achieved with FPGA logic as follows:
• Set J4 jumper in 1-2 position to enable FPGA control. This makes the control
available on pin G27 of FMC connector, which is connected to the FPGA on main
board
• In the FPGA design, connect this pin to the inverse of sdi_rx_clkout_is_ntsc_paln
output of the SDI II MegaCore receiver, as an open-collector output. Corresponding
Verilog code could look like this:
assignlmk03328_ntsc_clk_n=~sdi_rx_clkout_is_ntsc_paln;
assignfmcb_la_rx_p10=lmk03328_ntsc_clk_n?1'bz:1'b0;
• The LMK03328 PLL's power-down (PDN) input is connected to pin H34 of FMC
connector. In the FPGA design, wait for any changes on sdi_rx_clkout_is_ntsc_paln
and sdi_rx_frame_locked outputs from the SDI II MegaCore receiver. When
observed, toggle the PDN signal LOW than HIGH, also driving the output as an
open-collector. Corresponding Verilog code could look like this:
reset_on_toggle#(
.RESET_DEFAULT_STATE(1'b0)
)lmk_autorst_inst(
.clk(clk_fpga_b2_p),
.clk_reset_n(cpu_resetn),
.observed(sdi_rx_clkout_is_ntsc_paln_forced^rx_frame_locked),
.out_reset_n(lmk03328_powerdown_n)
);
assignfmcb_la_tx_p15=lmk03328_powerdown_n?1'bz:1'b0;
1.2.3 Requirements
For this automatic fractional rate selection functionality to work, the following
configuration is required:
• SDI II MegaCore's receiver's rx_core_refclk and rx_cdr_refclk must be connected to
148.5MHz clock. In the Reference Design this is achieved by setting SDI REFCLK
frequency on the Arria 10 GX development board to 148.5MHz (SW6.3 must be
OFF)
• SDI II MegaCore's receiver's sdi_rx_coreclk_is_ntsc_paln input must be set to '0'