Hello, I'm using AFE5801 to capture 8 channels data and I configure the AFE5801 as follwing sequence:
1: 0x000001 (reset)
2: 0x026000 (test pattern, custom reg.)
3: 0x034000 (16 bits output)
4: 0x053fc0 (test pattern output, 0xff00)
5: 0x070400 (low noise mode)
6: 0x000004 (switch to VGA registers)
7: 0x990008 (close the TGA engine and set FINE_GAIN = 0dB)
8: 0x9a0005 (set COARSE_GAIN = 0dB)
After I configure in this sequence, I can get right test pattern output 0xff00 in FPGA. Then I CHANGE the register 2 to 0x020000 to No pattern, and then I configure the AFE5801 as the same sequence above, but the output of AFE5801 I got in FPGA are not like noise. The digital data in 8 channels have 3 different type, one swing at -250, one swing at 10, and another one swing from -255 to 0. I think i should get noise swing near 0, and every channel are the same type.
So I wonder if I have problem in SPI configuration sequence ? Or can you give me an example of configuration? I want to use ADC without VGA, and each channel output in 16 bits mode.
Thank you.
Best Wishes.