AnsweredAssumed Answered

ad7195 device initialization and read data

Question asked by aa1965 on Dec 21, 2015
Latest reply on Dec 24, 2015 by aa1965

Hi, I installed the ad7192 linux driver to BeagleBone Black.

ad7192_driver.png

I try to read data from ADC however I read same data at each time. I think device initialization is not successful.

 

> Where should I add the following structure ?

          static struct ad7192_platform_data ad7192_pdata = {

          .vref_mv = 3300,

          .clock_source_sel = 2,

          //.....

> After adding should I recompile the kernel for ad7192 ko file ?





Outcomes