FIFOP pin is active active high by default.
-Sha
From: renjie huang
Sent: Sunday, March 16, 2008 4:57 AM
To: [email protected]
Subject: [Tinyos-help] FIFOP AND FIFO OVERFLOW
In CC2420 datasheet, it says that " If an overflow occurs in the RXFIFO, this
is signalled to the microcontroller by setting the FIFO pin low while the FIFOP
pin is high. " But I am confused when I read the code in CC2420 for TinyOS-1.x.
>From the code ,it seems that both FIFO pin and FIFOP pin are low when FIFO
>overflow happens.
Following code is copied from CC2420RadioM.nc:
// if a FIFO overflow occurs or if the data length is invalid, flush
// the RXFIFO to get back to a normal state.
if ((!TOSH_READ_CC_FIFO_PIN() && !TOSH_READ_CC_FIFOP_PIN())) {
flushRXFIFO();
}
--
Renjie
--------------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help