Hi Chris, Does the SPI data look okay on the oscilloscope? Yes. SPI & Usart are working fine. I didn't understand the following operation: "char c[i+i] = adc32_raw/(10^(9-i)); Well, I put the 4 Bytes to one 32 Bit Number. Afterwards, I split every digit of the number. The reason is, that I can only put chars over USART. The biggest Number that you can get is 2^32. This number has 10 digits. So i divide it in thousands, hundrets, thens, ones.. But nevertheless, all is working fine, except the values. I soldered a complete new board. And now i get the zeros. But the values doesn't fit. So my questions are: 1.) If i do AVDD = 5V & AVSS = GND(0V) as Supplys, what am I allowed to put at the inputs with: - Bypassed and not bypassed PGA? - Single and differential mode I configured, for example, AIN8 as positive and AIN9 as negative input (0x89h in ADC1MUX register). 2.) On page 119 of the datasheet, they say that you aren't allowed to put 0 V to negative input, if PGA isn't disabled and you use 5V supply. Maybe i destroyed the inputs before, because first, I didnt bypassed the intern PGA and put at AIN8 = 1 V and AIN9 = 0 V (GND) with my voltage source? 3.) As mentioned, i use AIN8 pos and AIN9 neg and i bypassed the PGA (before i didnt bypassed and used gain=1). So with my configuration, on page 109 you say that Vinp > -0.1V and VInn 0.3V and Vinn < 4.7V. So with (like in question 2) AIN8 = 1V and AIN9 = 0V it should match? 4.) Which input configuration you would recommend, to test the values? Thanks so much! Ratimir
↧