[beagleboard] Re: eCAP module and interrupts

2015-02-05 Thread TJF
libpruio configures the registers of the CAP modules in the PWMSS and starts measurement (IO mode). Then it checks the results and in case of a new value it makes this value available from user space. You can pull the current values whenever you want, validity can get proven by plausibility che

[beagleboard] Re: eCAP module and interrupts

2015-02-05 Thread beaglebone2015
BR, This looks great. If I understand libpruio correctly, it uses the eCap registers and interrupts to measure frequency (hardware driven counter), but you don't have direct access to interrupts. This is perfect, as the only reason we would have needed access to the interrupts was to handle t

[beagleboard] Re: eCAP module and interrupts

2015-02-04 Thread TJF
libpruio can access all eCAP modules. Currently polling values by function CapMod::Value is supported. You can use it to configure th