[riot-devel] Transmission performance with CC1101 radio

2016-07-04 Thread América Ramírez R .
Hello,

I am trying to determine the highest datarate possible using the CC1101
radio.
My use case is the transmission of media files.
With the following configuration I have only been able to achieve *1.24KBps*
:
* modulation: 2-FSK
* Frequency: 869,25 MHz
* Datarate: 299.926 KBauds
* udp as transport protocol
* with gnrc_sixlowpan_iphc module disabled

To measure the data-rate I modified udp.c in examples/gnrc_networking

*@ udp.c*
I am printing the time between each packet sent, the time of all packets
sent and the total number of Bytes transmitted. I defined *y* and *n*:


 uint32_t *y* *=* xtimer_now*();*

*for* *(*unsigned int i *=* 0*;* i *<* num*;* i*++)* *{*

uint32_t *n* *=* xtimer_now*();*


And *m*, before the for ends and* x* after it finishes

uint32_t *m* *=* xtimer_now*();*

printf*(*"Time per packet (ms): %ld\n"*,(*m*-*n*)/*1000*);*

*}*

uint32_t *x* *=* xtimer_now*();*

printf*(*"Total Bytes sent: %u\n"*,* strlen*(*data*)**num*);*

printf*(*"Total time (ms): %ld\n"*,(*x*-*y*)/*1000*);*






*@Terminal*Packets are sent by:

2016-07-04 14:35:27,609 - INFO # > udp send fe80::ff:fe00:66 5
01234567890123456789 100 9500
which sends through port 5 packets of 20 Bytes, 100 times with a delay of
9500 *us* between them.

As a result I get this:

2016-07-04 12:09:48,179 - INFO # Time per packet (ms): 13
2016-07-04 12:09:48,180 - INFO # Total Bytes sent: 2000
2016-07-04 12:09:48,180 - INFO # Total time (ms): 1612
In addition, with this configuration, I am receiving 38 packets of the 100
packets sent.
When trying to reduce the delay time between each packet to 9 000 *us*, the
transmitter stops and does not send anymore even if I put back delay time
to 9 500 *us, *only transmits back again when I reset it.
The more packets I try to send in that loop the larger the delay between
packets needs to be.

How can I further investigate where the bottleneck comes from? Or if you
have any idea on this issue?

Thanks in advance,
-- 

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


[riot-devel] Communicating between radios CC1101

2016-05-26 Thread América Ramírez R .
Hello developers,

I have been working with two radios CC1101(each one with its CC1190 for
power amplification) connected each one to an Arduino-due Board and they
have been communicating properly. However, I have faced trouble when the
message sended is *less than 12 Bytes*. CRC throws at reception, 0,
resulting in packet error (crc_error).
I have tried forcing it to 1 but the radio sets the source address
undefined.
Has anyone faced a similar problem?
Any suggestion for solving this issue would be really appreciated.

Best regards,

América R.

2016-04-18 17:45 GMT-05:00 América Ramírez R. <d.america...@gmail.com>:

> Hello again,
>
> After updating the RIOT database from github, the communication between
> the radios is working, but I have a question, It seems not to be
> receiving/sending any message that contains less than 12 Bytes, is this the
> way it is supposed to be working?
>
> Thanks in advance,
>
> Sincerely
>
> --
>
> América
>
> 2016-04-14 10:23 GMT-05:00 América Ramírez R. <d.america...@gmail.com>:
>
>>
>> Hello,
>>
>> I've tried to connect two cc1101 radios using Atmel ATSAM3X from
>> arduino-due with the gnrc_networking example.
>> I've followed the recommendations given at
>> https://lists.riot-os.org/pipermail/users/2015-November/000468.html but
>> I haven't been able to connect so far. (connection stablished but ping
>> messages get timedout)
>>
>> Also, I am printing a message everytime it transmits and I would like to
>> know if it is correct that the radio transmits something from the moment it
>> is started.
>>
>> Thank you, I look forward your reply.
>>
>> Sincerely,
>>
>>
>> --
>>
>> América
>>
>
>
>
> --
>
> América
>



-- 

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


Re: [riot-devel] Problems with radio CC1101

2016-04-18 Thread América Ramírez R .
Hello again,

After updating the RIOT database from github, the communication between the
radios is working, but I have a question, It seems not to be
receiving/sending any message that contains less than 12 Bytes, is this the
way it is supposed to be working?

Thanks in advance,

Sincerely

-- 

América

2016-04-14 10:23 GMT-05:00 América Ramírez R. <d.america...@gmail.com>:

>
> Hello,
>
> I've tried to connect two cc1101 radios using Atmel ATSAM3X from
> arduino-due with the gnrc_networking example.
> I've followed the recommendations given at
> https://lists.riot-os.org/pipermail/users/2015-November/000468.html but I
> haven't been able to connect so far. (connection stablished but ping
> messages get timedout)
>
> Also, I am printing a message everytime it transmits and I would like to
> know if it is correct that the radio transmits something from the moment it
> is started.
>
> Thank you, I look forward your reply.
>
> Sincerely,
>
>
> --
>
> América
>



-- 

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


[riot-devel] Problems with radio CC1101

2016-04-14 Thread América Ramírez R .
Hello,

I've tried to connect two cc1101 radios using Atmel ATSAM3X from
arduino-due with the gnrc_networking example.
I've followed the recommendations given at
https://lists.riot-os.org/pipermail/users/2015-November/000468.html but I
haven't been able to connect so far. (connection stablished but ping
messages get timedout)

Also, I am printing a message everytime it transmits and I would like to
know if it is correct that the radio transmits something from the moment it
is started.

Thank you, I look forward your reply.

Sincerely,


-- 

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