Tool/software:
Hi,
I configured the ADC12DJ3200 to JMODE-6 (8-bit, 4-lanes, dual channel) by setting the following parameters -
Sampling Frequency = 1600 MHz
ADC input clock = 1600 MHz
line rate = 8 Gsps
JESD ref_clock = 200 MHz
SYSREF Frequency = 5 MHz
Later, I configured the ADC registers as follows -
-------------------------------------------------------
ADDRESS | DATA
-------------------------------------------------------
//////// ADC Registers
0x0000 0x30
0x0002 0x00
0x0003 0x03
0x0004 0x20
0x0005 0x00
0x0006 0x05
0x000C 0x51
0x000D 0x04
0x0010 0x00
0x0029 0x20
0x0029 0x60
0x002A 0x00
0x002C 0x00
0x002D 0x00
0x002E 0x00
0x0030 0xC4
0x0031 0xA4
0x0032 0xC4
0x0033 0xA4
0x0038 0x00
0x003B 0x00
0x0048 0x00
0x0060 0x00
0x0061 0x01
0x0062 0x01
0x006A 0x00
0x006B 0x00
0x006C 0x01
0x0070 0x01
0x0071 0x00
0x007A 0x00
0x007B 0x00
0x007C 0x00
0x007E 0x00
0x007F 0x00
0x0080 0x00
0x0081 0x00
0x0082 0x00
0x0083 0x00
0x0084 0x00
0x0085 0x00
0x0086 0x00
0x0087 0x00
0x0088 0x00
0x0089 0x00
0x008A 0x00
0x008B 0x00
0x008C 0x00
0x008D 0x00
0x008E 0x00
0x008F 0x00
0x0090 0x00
0x0091 0x00
0x0092 0x00
0x0093 0x00
0x0094 0x00
0x0095 0x00
0x0102 0x00
0x0103 0x00
0x0112 0x00
0x0113 0x00
0x0122 0x00
0x0123 0x00
0x0132 0x00
0x0133 0x00
0x0142 0x00
0x0143 0x00
0x0152 0x00
0x0153 0x00
0x0160 0x00
0x0200 0x00
0x0061 0x00
0x0201 0x06
0x0202 0x1F
0x0203 0x01
0x0204 0x02
0x0205 0x00
0x0206 0x00
0x0207 0x00
0x0208 0x00
0x0209 0x00
0x0061 0x01
0x0000 100
0x0200 0x01
0x0210 0x00
0x0211 0xF2
0x0212 0xAB
0x0213 0x07
0x0214 0x01
0x0215 0x00
0x0216 0x02
0x0217 0x00
0x0218 0x00
0x0219 0x02
0x0297 0x00
0x02B0 0x00
0x02B1 0x05
0x02B2 0x00
0x02B3 0x00
0x02B4 0x00
0x02B5 0x00
0x02B6 0x00
0x02B7 0x00
0x02C0 0x00
0x02C1 0x1F
0x02C2 0x00
With these registers I am able to observe the sine wave generated from the ADC samples.
Now, I am trying to configure the ADC12DJ3200 in JMODE-10 (15-bit, 4-lanes, decimate by 4) with the following settings -
Sampling Frequency = 1600 MHz
ADC input clock = 1600 MHz
line rate = 8 Gsps
JESD ref_clk = 200 MHz
SYSREF Frequency = 12.5 MHz
The ADC registers are configured as follows -
----------------------------------------------
ADDRESS | DATA
----------------------------------------------
/////// ADC Registers
0x0000 0x30
0x0002 0x00
0x0003 0x03
0x0004 0x20
0x0005 0x00
0x0006 0x05
0x000C 0x51
0x000D 0x04
0x0010 0x00
0x0029 0x20
0x0029 0x60
0x002A 0x00
0x002C 0x00
0x002D 0x00
0x002E 0x00
0x0030 0xC4
0x0031 0xA4
0x0032 0xC4
0x0033 0xA4
0x0038 0x00
0x003B 0x00
0x0048 0x00
0x0060 0x00
0x0061 0x01
0x0062 0x01
0x006A 0x00
0x006B 0x00
0x006C 0x01
0x0070 0x01
0x0071 0x00
0x007A 0x00
0x007B 0x00
0x007C 0x00
0x007E 0x00
0x007F 0x00
0x0080 0x00
0x0081 0x00
0x0082 0x00
0x0083 0x00
0x0084 0x00
0x0085 0x00
0x0086 0x00
0x0087 0x00
0x0088 0x00
0x0089 0x00
0x008A 0x00
0x008B 0x00
0x008C 0x00
0x008D 0x00
0x008E 0x00
0x008F 0x00
0x0090 0x00
0x0091 0x00
0x0092 0x00
0x0093 0x00
0x0094 0x00
0x0095 0x00
0x0102 0x00
0x0103 0x00
0x0112 0x00
0x0113 0x00
0x0122 0x00
0x0123 0x00
0x0132 0x00
0x0133 0x00
0x0142 0x00
0x0143 0x00
0x0152 0x00
0x0153 0x00
0x0160 0x00
0x0200 0x00
0x0061 0x00
0x0201 0x0A
0x0202 0x1F
0x0203 0x01
0x0204 0x02
0x0205 0x00
0x0206 0x00
0x0207 0x00
0x0208 0x00
0x0209 0x00
0x0061 0x01
0x0000 100
0x0200 0x01
0x0210 0x00
0x0211 0xF2
0x0212 0xAB
0x0213 0x07
0x0214 0x01
0x0215 0x00
0x0216 0x02
0x0217 0x00
0x0218 0x00
0x0219 0x02
0x0297 0x00
0x02B0 0x00
0x02B1 0x05
0x02B2 0x00
0x02B3 0x00
0x02B4 0x00
0x02B5 0x00
0x02B6 0x00
0x02B7 0x00
0x02C0 0x00
0x02C1 0x1F
0x02C2 0x00
Except the above two registers remaining are left unchanged.
I am able to get the DATA_VALID, SYNC and SYSREF signals as expected. But I am unable to generate the sine wave output from the ADC samples.
I have the following queries regarding this -
1. As the JMODE-10 configuration involves decimate by 4 setting, do I need to change any NCO registers for that ? If so, request you to help me in setting that parameter.
2. I also rearranged the mapper that takes samples as per JMODE-10 but as I am getting a distorted signal, are there any other settings that need to be considered ?
Regards,
Anirudh