Thx to this post, I managed to make the continuous mode working.
https://groups.google.com/forum/#!topic/beagleboard/A3ThWPW-NcY
Robert: the correct overlay should be :
tscadc@44e0d000 {
compatible = "ti,am3359-tscadc";
reg = <0x44e0d000 0x1000>;
interrupt-parent = <0x1>;
interrupts = <0x10>;
ti,hwmods = "adc_tsc";
status = "okay";
linux,phandle = <0xc5>;
phandle = <0xc5>;
tsc {
compatible = "ti,am3359-tsc";
};
adc {
#io-channel-cells = <0x1>;
compatible = "ti,am3359-adc";
linux,phandle = <0xc6>;
phandle = <0xc6>;
ti,adc-channels = <0 1 2 3 4 5 6 7>;
};
};
Le mar. 15 sept. 2015 à 09:04, Micka <[email protected]> a écrit :
> No, I'm having issue to understand why I Can't sample data in continous
> mode.
>
> I can't find the folder /sys/bus/iio/iio_sysfs_trigger/add_trigger
>
> I have => /sys/bus/iio# ls
> devices drivers drivers_autoprobe drivers_probe uevent
>
> And I checked :
> Enable triggered sampling support = y
> IIO callback buffer used for push in-kernel interfaces = n
>
> Any idea ?
>
>
>
> Le mar. 15 sept. 2015 à 08:45, Micka <[email protected]> a écrit :
>
>> Ok, i got it correctly :
>>
>> &tscadc {
>> status = "okay";
>> adc {
>> ti,adc-channels = <0 1 2 3 4 5 6 7>;
>> };
>> };
>>
>> Thx,
>>
>> Le lun. 14 sept. 2015 à 20:25, Robert Nelson <[email protected]> a
>> écrit :
>>
>>> On Mon, Sep 14, 2015 at 1:10 PM, Micka <[email protected]> wrote:
>>> > doesn't work :(
>>>
>>> This overlay works:
>>>
>>>
>>> https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-ADC-00A0.dts
>>>
>>> Regards,
>>>
>>> --
>>> Robert Nelson
>>> https://rcn-ee.com/
>>>
>>> --
>>> For more options, visit http://beagleboard.org/discuss
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "BeagleBoard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.