AD9629
Production
The AD9629 is a monolithic, single channel 1.8 V supply, 12-bit, 20 MSPS/40 MSPS/65MSPS/80 MSPS analog-to-digital converter (ADC). It features a high performance...
Datasheet
AD9629 on Analog.com
HI
I have encountered some problems with the ADC, the input sine wave, the acquired digital signal is divided into two parts, and the noise is obviously, what is the problem, can you provide an example code?THX SO MUCH!
#include "ad9629.h" #include "assert_profile.h" #include <stddef.h> uint8_t read_data = 0; void ad9629_adapter_init(AD9629_ADAPTER_STR * p_adapter) { ASSERT_ERROR(p_adapter != NULL); ASSERT_ERROR(p_adapter->p_read_reg != NULL); ASSERT_ERROR(p_adapter->p_write_reg != NULL); ASSERT_ERROR(p_adapter->p_start_sample != NULL); ASSERT_ERROR(p_adapter->p_stop_sample != NULL); p_adapter->p_write_reg(0x00, 0x3C);//soft reset read_data = p_adapter->p_read_reg(0x01);//read id // ASSERT_ERROR(read_data == 0x70); read_data = p_adapter->p_read_reg(0x02);//read unique speed p_adapter->p_write_reg(0x0B, 0x01);//divide by 2 // p_adapter->p_write_reg(0x0D, 0x48);//test mode // p_adapter->p_write_reg(0x19, 0xAA); // p_adapter->p_write_reg(0x1A, 0x0A); // p_adapter->p_write_reg(0x1B, 0x55); // p_adapter->p_write_reg(0x1C, 0x05); p_adapter->p_write_reg(0x14, 0x01);//output format: twos complement // p_adapter->p_write_reg(0x08, 0x60);//normal mode:output enable p_adapter->p_write_reg(0xFF, 0x01); // read_data = p_adapter->p_read_reg(0x0B); // read_data = p_adapter->p_read_reg(0x08); // read_data = p_adapter->p_read_reg(0x19); // read_data = p_adapter->p_read_reg(0x1A); // read_data = p_adapter->p_read_reg(0x1B); // read_data = p_adapter->p_read_reg(0x1C); // p_adapter->p_write_reg(0x08, 0x60); //enable pin23 output mode } void ad9629_start_sample(AD9629_ADAPTER_STR * p_adapter) { ASSERT_ERROR(p_adapter->p_start_sample != NULL); p_adapter->p_start_sample(); } void ad9629_stop_sample(AD9629_ADAPTER_STR * p_adapter) { ASSERT_ERROR(p_adapter->p_stop_sample != NULL); p_adapter->p_stop_sample(); }
Hi Aape ,
Do you have a sample capture of the output that you are seeing?
Best regards,
Peevee
Hi Aape ,
Do you have a sample capture of the output that you are seeing?
Best regards,
Peevee
hi Peevee;
the figure1 is run the adc initial code,and the figure2 is not run the code.
THANK YOU!
Hello
The additive noise that is observed on 1st scope plot is due to the unbuffered switched capacitor ADC front-end which causes a transient or "spike" to be observed each time it is reconnected to the ADC's input pin to charge-up sampling capacitor to its new value.
Refer to the following app note that discusses this in more detail.