Re: quick help - linux Industrial IO Hardware Triggers

2014-08-21 Thread Anders Darander
On 21 August 2014 06:07, Kristofer Hallin kristofer.hal...@gmail.com wrote:
 Try search for linux-iio using Google and click on the first link [1]. Also,
 take a look on vgers list index [2].

 [1] http://wiki.analog.com/software/linux/docs/iio/iio
 [2] http://vger.kernel.org/vger-lists.html

In addition to Kristofers suggestions, take a look at the MAINTAINERS
file in the
source tree.

Cheers,
Anders


 On 21 Aug 2014 05:40, Sricharan Chalasani sricharan.chalas...@gmail.com
 wrote:

 Hi all,

 I have a query on Linux Industrial IO Subsystem. I am particularly
 interested in understanding how to use Hardware Triggers. Like to use
 Counter overflow interrupt as a Trigger for conversion from Analog to
 digital in my case. Somehow I failed to find-out the proper mailing list to
 post my query. I know that I need to post my query to Industrial IO mailing
 list.

 Could someone suggest me which is the correct mailing list in this regard.

 Thanks in advance,

 Sricharan.





 On Thu, Aug 21, 2014 at 12:35 AM, Greg KH g...@kroah.com wrote:

 On Wed, Aug 20, 2014 at 11:33:26PM +0530, Sricharan Chalasani wrote:
  Hi List,
 
  Thanks in advance.
 
  In the existing IIO drivers (linux-3.16), my understanding is that
  Hardware
  Triggers are just used to copy sampled data from the ADC to the Kernel
  buffer.
  I think none of the hardware triggers are really configuring ADC to
  Start the
  analog to digital conversion.

 snip

 Why not ask this on the iio driver mailing list?  The developers there
 should be able to help answer your questions better than anyone else.

 thanks,

 greg k-h



 ___
 Kernelnewbies mailing list
 Kernelnewbies@kernelnewbies.org
 http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


 ___
 Kernelnewbies mailing list
 Kernelnewbies@kernelnewbies.org
 http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




-- 
Anders Darander
EPO guidelines 1978: If the contribution to the known art resides
solely in a computer program then the subject matter is not
patentable in whatever manner it may be presented in the claims.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


quick help - linux Industrial IO Hardware Triggers

2014-08-20 Thread Sricharan Chalasani
Hi List,

Thanks in advance.

In the existing IIO drivers (linux-3.16), my understanding is that Hardware
Triggers are just used to copy sampled data from the ADC to the Kernel
buffer. I think none of the hardware triggers are really configuring ADC to
Start the analog to digital conversion.

I have a Hardware Counter on my Board. I am planning to configure my
Counter overflow interrupt as an IIO Hardware Trigger. In my IIO ADC driver
probe function I am planning to start my Counter for the first time. Once
the counter overflow interrupted is generated, inside the counter ISR, I am
planning to configure ADC to start analog to digital conversion on all the
channels (4 of them), one sample on each channel and once the Conversion is
completed, I am planning to copy the Sampled data to Kernel buffer
associated with the Trigger.

I will program the Counter again and wait for interrupt and repeat the
steps above. I am planning to continue this approach indefinitely.

Does this approach satisfy the principles of IIO Subsystem ? Am I missing
anything here in understanding the IIO Subsystem properly ?

Thanks in advance,

Sricharan,
Pune (India).
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: quick help - linux Industrial IO Hardware Triggers

2014-08-20 Thread Greg KH
On Wed, Aug 20, 2014 at 11:33:26PM +0530, Sricharan Chalasani wrote:
 Hi List,
 
 Thanks in advance.
 
 In the existing IIO drivers (linux-3.16), my understanding is that Hardware
 Triggers are just used to copy sampled data from the ADC to the Kernel buffer.
 I think none of the hardware triggers are really configuring ADC to Start the
 analog to digital conversion.

snip

Why not ask this on the iio driver mailing list?  The developers there
should be able to help answer your questions better than anyone else.

thanks,

greg k-h

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: quick help - linux Industrial IO Hardware Triggers

2014-08-20 Thread Sricharan Chalasani
Hi all,

I have a query on Linux Industrial IO Subsystem. I am particularly
interested in understanding how to use Hardware Triggers. Like to use
Counter overflow interrupt as a Trigger for conversion from Analog to
digital in my case. Somehow I failed to find-out the proper mailing list to
post my query. I know that I need to post my query to Industrial IO mailing
list.

Could someone suggest me which is the correct mailing list in this regard.

Thanks in advance,

Sricharan.





On Thu, Aug 21, 2014 at 12:35 AM, Greg KH g...@kroah.com wrote:

 On Wed, Aug 20, 2014 at 11:33:26PM +0530, Sricharan Chalasani wrote:
  Hi List,
 
  Thanks in advance.
 
  In the existing IIO drivers (linux-3.16), my understanding is that
 Hardware
  Triggers are just used to copy sampled data from the ADC to the Kernel
 buffer.
  I think none of the hardware triggers are really configuring ADC to
 Start the
  analog to digital conversion.

 snip

 Why not ask this on the iio driver mailing list?  The developers there
 should be able to help answer your questions better than anyone else.

 thanks,

 greg k-h

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: quick help - linux Industrial IO Hardware Triggers

2014-08-20 Thread Kristofer Hallin
Try search for linux-iio using Google and click on the first link [1].
Also, take a look on vgers list index [2].

[1] http://wiki.analog.com/software/linux/docs/iio/iio
[2] http://vger.kernel.org/vger-lists.html
On 21 Aug 2014 05:40, Sricharan Chalasani sricharan.chalas...@gmail.com
wrote:

 Hi all,

 I have a query on Linux Industrial IO Subsystem. I am particularly
 interested in understanding how to use Hardware Triggers. Like to use
 Counter overflow interrupt as a Trigger for conversion from Analog to
 digital in my case. Somehow I failed to find-out the proper mailing list to
 post my query. I know that I need to post my query to Industrial IO mailing
 list.

 Could someone suggest me which is the correct mailing list in this regard.

 Thanks in advance,

 Sricharan.





 On Thu, Aug 21, 2014 at 12:35 AM, Greg KH g...@kroah.com wrote:

 On Wed, Aug 20, 2014 at 11:33:26PM +0530, Sricharan Chalasani wrote:
  Hi List,
 
  Thanks in advance.
 
  In the existing IIO drivers (linux-3.16), my understanding is that
 Hardware
  Triggers are just used to copy sampled data from the ADC to the Kernel
 buffer.
  I think none of the hardware triggers are really configuring ADC to
 Start the
  analog to digital conversion.

 snip

 Why not ask this on the iio driver mailing list?  The developers there
 should be able to help answer your questions better than anyone else.

 thanks,

 greg k-h



 ___
 Kernelnewbies mailing list
 Kernelnewbies@kernelnewbies.org
 http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies