使用的是ti给的A10的示例代码,rx_is_locktodata通过signaltap看到一直在跳,看手册,这个信号应该锁定为1才对。
想问问这个是什么原因?和AD的配置有关系吗?
对AD的配置如下:
8'd0 : spi_data <= {16'h0012,8'h00};//not select master page
8'd1 : spi_data <= {16'h0011,8'hff};//select ADC page
8'd2 : spi_data <= {16'h003F,8'h04};//ADC sampling rates are slower than 2.5 GSPS
8'd3 : spi_data <= {16'h0042,8'h10};//ADC sampling rates are slower than 2.5 GSPS
8'd4 : spi_data <= {16'h4004,8'h69};//select digital JESD page
8'd5 : spi_data <= {16'h4003,8'h00};//select digital JESD page
8'd6 : spi_data <= {16'h4002,8'h00};//select digital JESD page
8'd7 : spi_data <= {16'h6001,8'h10};//Test mode enabled
8'd8 : spi_data <= {16'h7001,8'h10};//Test mode enabled
8'd9 : spi_data <= {16'h6006,8'h00};//Scrambler enable, channel A
8'd10: spi_data <= {16'h7006,8'h00};//Scrambler enable, channel B
8'd11: spi_data <= {16'h4004,8'h68};//Select the main digital page for channel A
8'd12: spi_data <= {16'h4003,8'h00};//Select the main digital page for channel A
8'd13: spi_data <= {16'h6000,8'h01};//Issue a digital reset for channel A
8'd14: spi_data <= {16'h6000,8'h00};//Clear the digital for reset channel A
8'd15: spi_data <= {16'h4003,8'h01};//Select the main digital page for channel B
8'd16: spi_data <= {16'h6000,8'h01};//Issue a digital reset for channel B
8'd17: spi_data <= {16'h6000,8'h00};//Clear the digital reset for channel B
8'd18: spi_data <= {16'h4004,8'h69};//Select the digital JESD page
8'd19: spi_data <= {16'h4003,8'h00};//Select the digital JESD page
8'd20: spi_data <= {16'h6002,8'h01};//Set JESD MODE0 = 1, channel A
8'd21: spi_data <= {16'h7002,8'h01};//Set JESD MODE0 = 1, channel B
8'd22: spi_data <= {16'h5000,8'h00};//bypass, channel A
8'd23: spi_data <= {16'h5800,8'h00};//bypass, channel B
8'd24: spi_data <= {16'h5037,8'h02};//Test pattern A
8'd25: spi_data <= {16'h5837,8'h02};//Test pattern A
Amy Luo:
您好,
1、您使用的采样率是多少呢,JESD 选择的是什么mode。
2、这是您使用的完整的配置吗,这看起来不像是需要的完整配置。
3、TI给的A10的示例代码,您可以分享出来吗