Ever had a week where nothing works? Mine has to do with the ADC MCP3564 chip

@AlexBettsUTAS

Thanks for the code and hardware tips!. My ADC's fired right up. You being able to decipher that data sheet gives you super genius status. I looked through your code and the data sheet and still cannot figure out how you got it working. I was able to hack a few settings to get all 8 channels outputting readings.

I'm able to proceed with your help.

Thanks a million.
 
Its the slave SPI devices that have to be clear about MISO handling.
I probably meant to write MOSI.

Some ADC's require a specific level on the MOSI and cancel the remainder of the transfer if it is not maintained until the transfer is complete.

And of course things go awry when an Arduino SPI library implements a 16 bit or larger transfer as a series of 8 bit transfers. There is a work around for some hosts, but often it is more convenient to use a pull up and dont connect it.
 
Back
Top