Max_1270 ADC
tom90
Posts: 55
I recently downloaded the Max 1270 object from the object exchange, but I haven't been able to make it work. At first, i thought it was a timing issue (random waitcnts in the code), but that didn't lead anywhere. Nothing I do seems to work.
Any thoughts are appreciated.
Thanks,
Tom
Any thoughts are appreciated.
Thanks,
Tom
Comments
if it does let me know, i see some differences between your file and the one i found.
dan
Post Edited (Sawmiller) : 8/8/2007 10:50:21 PM GMT
One issue I had was that I originally saw no data coming out the IC, the issue was a damaged IC, so that is always a possibility. Please make sure all the pins connections match the specified pins on the code, the pins are clearly documented on the CON section of the code, I had issues there too, the use of the Serial Data IN / Serial Data Out pins got me confused initially, and I actually inverted them.. :-(
I guarantee that if you set up the pins properly, this code will run, I am using it now to test my MAX1271, I used a potentiometer to play with it and make sure the MAX1271 correctly converts the voltage... the MAX1271 should generate values even if you leave the Channel pins floating..
Post Edit:· I updated the Spin file.. the originally posted file had incorrect pin configuration (older file)... my mistake.. :-(
I hope this helps!!!...
Post Edited (Joe "Bot" Red) : 8/8/2007 5:00:55 PM GMT
Thanks again,
Tom