Hi Dale, OK, thanks for the clarification. The first 2 cycles only gave a code of 0 hex. After that, it was fine. I connected a DC level to channel 0, and those first 2 reads now contain what looks like valid data for that channel input. See scope trace and debug output below. thanks, Nick ADC ADDRESS = 0 hex ADC DATA = a8e hex ADC ADDRESS = 0 hex ADC DATA = a8c hex ADC ADDRESS = 1000 hex ADC DATA = ff2 hex ADC ADDRESS = 1000 hex ADC DATA = ff2 hex ADC ADDRESS = 1000 hex ADC DATA = ff1 hex ..........
↧