Hi, this is my issue:
I can set all the registers through SPI, I can write it and read it any time I want using hyperterminal (reading), the problem comes when I set Sample rate and PGA gain. Using RREG I can see both of them are exactly as I wrote, so I set 250sps and pga=1 in a first case, so I put on channel1 a sine voltage with output leve in 2V and 1Hz, so if I get 250 samples I would expect one period of that signal, right?
And this is what I see using Matlab through serial port
As you can see, there are two periods for 250sps. And if I modify config1 to 500sps I got the same image.
I also set the same 500sps but with pga=2, I would expect output level around 4V and this is what I got
I don't know what to do at this time, if anyone could help me I would really appreciate it and let me know if someday are visitingColombia so I could invite you a cup of coffee in gratitude.
Regards
Felipe