btb4198 Posted March 23, 2016 Share Posted March 23, 2016 Can someone please post some working AtoD code for uC32? Because I cant get any to work... and I tried the code from : http://ww1.microchip.com/downloads/en/DeviceDoc/61104E.pdf and it did not work. Link to comment Share on other sites More sharing options...
Sergiu Posted March 24, 2016 Share Posted March 24, 2016 Hi, What kind of ADC are you using ? Is it a Digilent Pmod? Are you working with MPIDE? On the pages of our PmodADs you can find MPIDE libraries for them: https://reference.digilentinc.com/pmod:pmod:ad2:example_code https://reference.digilentinc.com/pmod:pmod:ad1:example_code https://reference.digilentinc.com/pmod:pmod:ad5:example_code The first one works on I2C and the other two are SPI Pmods. Sergiu Link to comment Share on other sites More sharing options...
btb4198 Posted March 24, 2016 Author Share Posted March 24, 2016 2 hours ago, Sergiu said: Hi, What kind of ADC are you using ? Is it a Digilent Pmod? Are you working with MPIDE? On the pages of our PmodADs you can find MPIDE libraries for them: https://reference.digilentinc.com/pmod:pmod:ad2:example_code https://reference.digilentinc.com/pmod:pmod:ad1:example_code https://reference.digilentinc.com/pmod:pmod:ad5:example_code The first one works on I2C and the other two are SPI Pmods. Sergiu I am using the AtoD that is on the uc32 and I am using mplabx Link to comment Share on other sites More sharing options...
jpeyron Posted March 24, 2016 Share Posted March 24, 2016 Hi, What example did you use in http://ww1.microchip.com/downloads/en/DeviceDoc/61104E.pdf. Also what errors did you get? thank you, Jon Link to comment Share on other sites More sharing options...
Question
btb4198
Can someone please post some working AtoD code for uC32? Because I cant get any to work...
and I tried the code from :
http://ww1.microchip.com/downloads/en/DeviceDoc/61104E.pdf
and it did not work.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.