Picomite issues with MCP3002, dual channel ADC SPI


Author Message
karlelch

Senior Member

Joined: 30/10/2014
Location: Germany
Posts: 218
Posted: 11:41am 01 Feb 2025      

P.S.: I think in `SPI2 OPEN 100000, 0, 10` the 10 bits is the problem. The bit width refers to whether you read/write bytes (I read/write bytes) or 16 bit words to communicate with the SPI device - it is not related to the bit depth of your ADC.