Hello,
I'am working with ADS1298 and XMC4500, trying to capture data from multiple sensors.
So far I am able to start the ADS, write and read registers and change the data rate.
DRDY toggles as intended and I am reading data out in RDATAC mode and send them via ethernet to the PC.
Further processing is done in Matlab.
My Problem is, I am noticing a lot of noise on the input channels, way more than the datasheet specifies.
Channel 1, input shorted:
Also the internal test signal seems to be really noisy.
Channel 1, gain 12, source internal test signal:
Another thing I noticed is the test signal is only noticable if I configure the channel with gain 12 (0x65) instead of 6.
My startup process is as follows:
START low
PWDN high
RESET high
wait for power up
send RESET pulse
wait 18 tclk
SPI_send(0x11); // stop RDATAC
//write config registers
reg_write(0x01, 0x86); // high-res , 500 SPS
reg_write(0x02, 0x15); // gen test signals intern
reg_write(0x15, 0x00); // pace disabled
//channel 1-8
reg_write(0x05, 0x65); //test signal
reg_write(0x06, 0x81);
reg_write(0x07, 0x81);
reg_write(0x08, 0x81);
reg_write(0x09, 0x81);
reg_write(0x0A, 0x81);
reg_write(0x0B, 0x81);
reg_write(0x0C, 0x81);
//gpio ports
reg_write(0x14, 0x00); //output, low
Also my schematic is attached below:
Thanks
Jonas