Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9868 Discussions

How to disable ADC for Arduino 101?

YWang87
Beginner
1,649 Views

Hi guys!

I am developing a project that requires the power consumption as minimized as possible, any idea about how to disable the ADC?

Thanks in advance!

0 Kudos
1 Solution
idata
Community Manager
131 Views

Hi Relicwang,

 

 

We were investigating about this and we found out that there is no way to disable the ADC using the Arduino IDE. According to the http://www.intel.com/content/www/us/en/support/boards-and-kits/intel-curie-modules/000022330.html Curie Datasheet (Section 3.2.17) "The ADC controller is only accessible from the ARC* processor core and the DMA controller. All configuration and read access is via ARC software". If you need help doing this, I recommend you to check the page 96 of the https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/quark-c1000-datasheet.pdf Quark datasheet, it might help you to know which registers you have to configure.

 

 

Nevertheless, in this discussion https://github.com/01org/corelibs-arduino101/issues/227, there is a user in the community that has created a function called "void disableADC()", maybe it can be useful for your project, but remember that this isn't a official solution validated by us. If you need more information about this code I suggest you to try to contact the author of the discussion.

 

 

I hope you find this useful.

 

 

We really appreciate your patience.

 

 

Regards,

 

Leonardo R.

View solution in original post

7 Replies
idata
Community Manager
131 Views

Hi Relicwang,

 

 

Thank you for contacting us.

 

 

That's a good question! At the moment I haven't found any helpful information yet, but I will investigate more about this, and I'll contact you as soon as I have updates.

 

 

Have a nice day.

 

 

Regards,

 

Leonardo R.
idata
Community Manager
131 Views

Hi Relicwang,

 

 

Just to make sure, are you using the Arduino IDE or CurieODK? We need this information to continue our investigation.

 

 

We will be waiting for your reply.

 

 

Have a nice day.

 

 

Regards,

 

Leonardo R.
YWang87
Beginner
131 Views

I am using Arduino IDE!

Thank you so much!

Best,

Relic

idata
Community Manager
131 Views

Hi Relicwang,

 

 

Thank you so much for the information, we will continue working on this.

 

 

We appreciate your patience.

 

 

Regards,

 

Leonardo R.
YWang87
Beginner
131 Views

Really appreciate for that!

idata
Community Manager
132 Views

Hi Relicwang,

 

 

We were investigating about this and we found out that there is no way to disable the ADC using the Arduino IDE. According to the http://www.intel.com/content/www/us/en/support/boards-and-kits/intel-curie-modules/000022330.html Curie Datasheet (Section 3.2.17) "The ADC controller is only accessible from the ARC* processor core and the DMA controller. All configuration and read access is via ARC software". If you need help doing this, I recommend you to check the page 96 of the https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/quark-c1000-datasheet.pdf Quark datasheet, it might help you to know which registers you have to configure.

 

 

Nevertheless, in this discussion https://github.com/01org/corelibs-arduino101/issues/227, there is a user in the community that has created a function called "void disableADC()", maybe it can be useful for your project, but remember that this isn't a official solution validated by us. If you need more information about this code I suggest you to try to contact the author of the discussion.

 

 

I hope you find this useful.

 

 

We really appreciate your patience.

 

 

Regards,

 

Leonardo R.

View solution in original post

YWang87
Beginner
131 Views
Reply