Thank you for interest in the Intel® Curie™ Boards.
I understand you are trying to build two applications, one of them for the ARC processor.
The ADC driver is, as you mentioned, only functional for the ARC processor.
From what I read, you have already developed the two applications, one of them with the CONFIG_ADC=y command. What is not clear to me is if both applications worked accordingly before adding the ADC enabling command.
Are you willing to share more information about your project and what you are trying to achieve?
Could you please share a little bit more about the steps that you followed during the Kernel Configuration process?
Are you in any way creating a custom build or performing a kernel modification?
I’ll be waiting for your response.
Both applications worked properly before adding the CONFIG_ADC=y.
The applications are nothing but a basic Hello world application.
Application for X86:
printk("Hello from x86 app %s\n", CONFIG_ARCH);
Application for Sensor core:
printk("Hello from sensor core %s\n", CONFIG_ARCH);
#I tried 4 different configurations for arc
1) #Nothing in the configuration
Board successfully booted and was able to see both the printk's
***** BOOTING ZEPHYR OS v1.7.99 - BUILD: Mar 8 2017 06:56:01 *****
Hello from x86 app x86
Hello from sensor core arc
2) Zephyr did not boot with this config option - ADC Enabled
3) Zephyr did not boot with following configuration also
4) Zephyr did not boot with following configuration also
Before enabling the ADC, the application has worked perfectly.
I am trying to run Zephyr Operating system on Arduino-101.
As part of some experiment I want ADC to be enabled so that I can use Analog input pins and read some data from it.
Zephyr is a tiny OS that is highly configurable Linux kernel with put a file system.
Also I need some more details about SPI clock scaling factor or clock frequency configuration options so that I can run SPI communication between a slave and Arduino.
Thank you for the information provided.
I’ll be needing more time to perform the corresponding test and come up with information that you may find useful.
Thank you for your patience.
1 of 1 people found this helpful
I seem to have solved the problem , I followed steps mentioned in the Link below.
I think my issue was better applicable the Zephyr forum.
ADC was not running because of SDK used for Zephyr.
I’m glad to hear that you could solve the issue.
Thank you for sharing your experience with the community, we really appreciate it.
Have a nice day.