Re: [riot-devel] ADC on SAMR21-xpro (Alessandro Nicoli)

2016-07-25 Thread Peter Kietzmann

Hi Alessandro,

you're pretty much welcome! Even though I didn't do that much. Do you 
think you could open a PR with this ADC driver implementation?


Best
Peter




Am 23.07.2016 um 11:50 schrieb ALESSANDRO NICOLI:

Hi all,

I've successfully put in work the ADC module on SAMR21-xpro.

I'm still trying to set up the offset and gain corrections, i tried to
edit the "periph_conf.h" file, but when i compile and run it, it seems
that nothing has changed...

Anyway i want to say "thanks" to Peter that gave me a huge help!


/best regards, /
/Alessandro/


___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel



--
Peter Kietzmann

Hamburg University of Applied Sciences
Dept. Informatik, Internet Technologies Group
Berliner Tor 7, 20099 Hamburg, Germany
Fon: +49-40-42875-8426
Web: http://www.haw-hamburg.de/inet
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] ADC on SAMR21-xpro (Alessandro Nicoli)

2016-07-23 Thread ALESSANDRO NICOLI
Hi all,

I've successfully put in work the ADC module on SAMR21-xpro.

I'm still trying to set up the offset and gain corrections, i tried to edit
the "periph_conf.h" file, but when i compile and run it, it seems that
nothing has changed...

Anyway i want to say "thanks" to Peter that gave me a huge help!


*best regards, *
*Alessandro*
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] ADC on SAMR21-xpro (Alessandro Nicoli)

2016-07-22 Thread ALESSANDRO NICOLI
Hi Peter,

Yes, i've used the last configuration that you posted (as you suggested me
last time).
I tried to use the pin PA06, but i can't be able to read different values
but 1206 (or similar).

For the test, i've used a simple analog potentiometer plugged to PA06.


*best regards, *
*Alessandro*

2016-07-22 12:00 GMT+02:00 :

> Send devel mailing list submissions to
> devel@riot-os.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.riot-os.org/mailman/listinfo/devel
> or, via email, send a message with subject or body 'help' to
> devel-requ...@riot-os.org
>
> You can reach the person managing the list at
> devel-ow...@riot-os.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of devel digest..."
>
>
> Today's Topics:
>
>1. Re: ADC on SAMR21-xpro (Peter Kietzmann)
>
>
> --
>
> Message: 1
> Date: Fri, 22 Jul 2016 11:59:46 +0200
> From: Peter Kietzmann 
> To: RIOT OS kernel developers 
> Subject: Re: [riot-devel] ADC on SAMR21-xpro
> Message-ID: <5791ee92.2050...@haw-hamburg.de>
> Content-Type: text/plain; charset="utf-8"; format=flowed
>
> Hi Alessandro,
>
> what is your code base? If you have adapted this PR (as I proposed some
> time ago)
>
> https://github.com/RIOT-OS/RIOT/pull/4162/
>
> it should be PA6, PA7, PA8, PA9, PB2, PB3 according to the ADC channel.
> Compare this configuration:
>
>
> https://github.com/RIOT-OS/RIOT/pull/4162/files#diff-134bda29ded96fa4abaa9f99216a6116R325
>
> Best regards
> Peter
>
>
> Am 22.07.2016 um 11:46 schrieb ALESSANDRO NICOLI:
> > Hi Rioters,
> > I've some troubles about using the ADC on the SAMR21-XPRO board.
> > At now, i've added the libraries and required features for it, it
> > compiles and i can use the "periph_adc" test, but i'm not able to find
> > which GPIO are used for the ADC.
> >
> > In less words, i need an help to start using the ADC lines for a
> > moisture sensor.
> >
> > I've found the watr-li tutorial (http://watr.li/Sensing-moisture.html),
> > but is deprecated.
> >
> > There is someone who can drive me about it?
> >
> >
> > Thanks a lot,
> > /best regards, /
> > /Alessandro/
> >
> >
> > ___
> > devel mailing list
> > devel@riot-os.org
> > https://lists.riot-os.org/mailman/listinfo/devel
> >
>
> --
> Peter Kietzmann
>
> Hamburg University of Applied Sciences
> Dept. Informatik, Internet Technologies Group
> Berliner Tor 7, 20099 Hamburg, Germany
> Fon: +49-40-42875-8426
> Web: http://www.haw-hamburg.de/inet
>
>
> --
>
> Subject: Digest Footer
>
> ___
> devel mailing list
> devel@riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
>
>
> --
>
> End of devel Digest, Vol 41, Issue 35
> *
>
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel