Ok, thanks a lot Alexandre.
*best regards, * *Alessandro* 2016-08-06 12:00 GMT+02:00 <[email protected]>: > Send devel mailing list submissions to > [email protected] > > 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 > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of devel digest..." > > > Today's Topics: > > 1. Re: My plans for 2016.10 release (Martine Lenders) > 2. I2C - Arduino <-> SAMR21-xpro (ALESSANDRO NICOLI) > 3. Re: I2C - Arduino <-> SAMR21-xpro (Alexandre Abadie) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 5 Aug 2016 13:51:46 +0200 > From: Martine Lenders <[email protected]> > To: RIOT OS kernel developers <[email protected]> > Subject: Re: [riot-devel] My plans for 2016.10 release > Message-ID: > <CALHmdRxkUTa4oT3SfujYmH8WHyDi68FPdHBFq7-aiGC=QCopSQ@mail. > gmail.com> > Content-Type: text/plain; charset=UTF-8 > > Hi, > > 2016-07-16 17:11 GMT+02:00 Martine Lenders <[email protected]>: > > * Network layer/NDP overhaul: expect a model proposal and [sic] of July. > > I did this as promised about a week ago btw [1]. Might have been got > lost in the mail storm during the release ;-). > > > Let's discuss this then and I'll provide an actual implementation > > after some(TM) time (To re-iterate an old Meme: "The border router > > will be ready soon!") > > [snip] > > Cheers, > Martine > > [1] https://github.com/RIOT-OS/RIOT/issues/5704 > > > ------------------------------ > > Message: 2 > Date: Fri, 5 Aug 2016 16:23:18 +0200 > From: ALESSANDRO NICOLI <[email protected]> > To: RIoT Dev List <[email protected]> > Subject: [riot-devel] I2C - Arduino <-> SAMR21-xpro > Message-ID: > <CAFsA-_1_=8tkxsJPiYeRWD0VxqT1_Zr6cfOQWW48WdhCtOTkdA@mail. > gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi all, > There is someone who tried to interface arduino to RIOT (the board in my > case is SAMR21-xpro) through the I2C ? > > I would config the Arduino as MASTER (i've already did it with wire.h) and > samr21 as SLAVE. > > I did a code like this : > <code> > int main(void) > { > puts("I2C Reader"); > > /* define own shell commands */ > //char line_buf[SHELL_DEFAULT_BUFSIZE]; > //shell_run(shell_commands, line_buf, SHELL_DEFAULT_BUFSIZE); > > char data; > int read=0; > > while(1){ > puts("waiting for data..."); > > i2c_poweron(0); > do{ > read = i2c_read_byte(0, 8, data); > if(read==-1) > { > puts("ERROR : UNDEFINED DEVICE"); > break; > }else if(read>0) > printf("data arrived : %c",data); > }while(read<1); > } > > return 0; > } > </code> > > > Arduino will send 5 byte at time, but the samr21 doesn't receive > nothing....any ideas? > > > Thanks all ! > > *best regards, * > *Alessandro* > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://lists.riot-os.org/pipermail/devel/attachments/ > 20160805/5643391b/attachment-0001.html> > > ------------------------------ > > Message: 3 > Date: Fri, 5 Aug 2016 16:52:02 +0200 (CEST) > From: Alexandre Abadie <[email protected]> > To: RIOT OS kernel developers <[email protected]> > Subject: Re: [riot-devel] I2C - Arduino <-> SAMR21-xpro > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi Alessandro, > > Unfortunately, the current I2C API in RIOT only supports the master mode > so you won't be able to use your samr21-xpro as slave on this kind of bus. > I don't know how complex it is to add support for this feature btw. > > Cheers, > > Alex > > ----- Mail original ----- > > > Hi all, > > There is someone who tried to interface arduino to RIOT (the board in my > case > > is SAMR21-xpro) through the I2C ? > > > I would config the Arduino as MASTER (i've already did it with wire.h) > and > > samr21 as SLAVE. > > > I did a code like this : > > <code> > > int main(void) > > { > > puts("I2C Reader"); > > > /* define own shell commands */ > > //char line_buf[SHELL_DEFAULT_BUFSIZE]; > > //shell_run(shell_commands, line_buf, SHELL_DEFAULT_BUFSIZE); > > > char data; > > int read=0; > > while(1){ > > puts("waiting for data..."); > > i2c_poweron(0); > > do{ > > read = i2c_read_byte(0, 8, data); > > if(read==-1) > > { > > puts("ERROR : UNDEFINED DEVICE"); > > break; > > }else if(read>0) > > printf("data arrived : %c",data); > > > }while(read<1); > > } > > return 0; > > } > > </code> > > > Arduino will send 5 byte at time, but the samr21 doesn't receive > > nothing....any ideas? > > > Thanks all ! > > > best regards, > > Alessandro > > > _______________________________________________ > > devel mailing list > > [email protected] > > https://lists.riot-os.org/mailman/listinfo/devel > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://lists.riot-os.org/pipermail/devel/attachments/ > 20160805/296d4ede/attachment-0001.html> > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > devel mailing list > [email protected] > https://lists.riot-os.org/mailman/listinfo/devel > > > ------------------------------ > > End of devel Digest, Vol 42, Issue 6 > ************************************ >
_______________________________________________ devel mailing list [email protected] https://lists.riot-os.org/mailman/listinfo/devel
