Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 20046

Re: Preventing Cypress GPIO expander from going to sleep mode.

$
0
0

Hi Diego,

 

Thanks a lot for you support I appreciate it.

I am using C & the changes I am making are at the Kernel level [ADC Driver present in drivers/staging/iio/adc/ * ],

I have built a LSB image following procedure given by Sergey's Blog Intel Galileo - Building Linux Image - Malinov Family Web Presence

I use the following commands to build the kernel,

menuconfig changes to include the ADC driver,

bitbake -c menuconfig linux-yocto-clanton

Built the kernel using

bitbake linux-yocto-clanton

Copied the kernel image to the SD card along with the file system etc and do a normal boot.

 

The Driver AD7606 I am testing, has exposed some sysfs entries to set and get channel values for testing at the userspace level, I am using that to verify the ADC driver which internally writes values to GPIOs.


NOTE I am currently using gpio_set_value_cansleep() as a workaround [reads only 1 value at a time] for time being, till I am able to fix the SPI issue as mentioned earlier.


Regards

Simba


Viewing all articles
Browse latest Browse all 20046

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>