So with help from Jon Ferguson from XMOS I now have demo_adc() working. I have placed the code on gitorious where you can easily see the changes: http://bit.ly/cmJkoa
The crucial change to make it work is "some time with SS high" before the main demo loop on line 50 of mcp3208.xc.
MicroChip MCP3204/3208 ADC
-
- Member++
- Posts: 17
- Joined: Thu Oct 14, 2010 12:07 am