[Tinyos-help] CRC in CC2420
Jordi Pérez
pr.jordi at gmail.com
Mon Feb 16 08:58:40 PST 2009
Hi Razvan!
I tryed to understand the code to disable the filtering you said, but I
can't. Do you mind explaining me the things I have to change?
In RXFIFO.readDone event when I modify something, the program doesn't work.
So I don't know how disable it.
In the SubReceive.receive event I changed the word Snoop to Receive, but I
don't really know if it is correct.
Can you help me please?
Thanks a lot,
Sorry, I am a beginner in this area.
Jordi
2009/2/12 Razvan Musaloiu-E. <razvanm at cs.jhu.edu>
> Hi!
>
>
> On Wed, 11 Feb 2009, Jordi Pérez wrote:
>
> Dear all,
>>
>> For CC2420, if AUTOCRC is set, will the hardware reject CRC-error packet
>> automatically?
>> If true, then is it possible to receive those packets but with AUTOCRC
>> still
>> being set? I want to receive this packets and rebuild them.
>>
>>
> The CC2420 is not discarding the packets with bad CRC. What does is to
> indicate using a bit that the packet was bad (page 38, section 16.4 from
> [1]). The TinyOS driver for CC2420 inspects this bit and discards the
> packets if that bit is not 1. You can see this happening in the
> RXFIFO.readDone event from CC2420ReceiveP.nc. The switch branch of interest
> is 'case S_RX_PAYLOAD:'.
>
> The other filtering that you'll have to disable is in the
> SubReceive.receive event from CC2420ActiveMessageP.nc.
>
> [1] http://focus.ti.com/lit/ds/symlink/cc2420.pdf
>
> --
> Razvan ME
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090216/39946bab/attachment.htm
More information about the Tinyos-help
mailing list