hello, dear all!
I made cc2520 to be in rx mode, but there was no node to send frame to it. And I read the first byte in the rxfifo, it shoud be the length of the frame, as there was no frame in rxfifo, I think the first byte in the rxfifo should be zero, but it was not. What's more, I think the data in rxfifo should be zero too as cc2520 didn't receive any frame, but when I read the rxfifo, I found the datas were not zero, I don't know why?
The fact there is no data in the FIFO doesn't mean you cannot read data from it. In this case, you will be reading old data in the FIFO or random values in the FIFO. You need to make sure you flush the FIFO before using it and then test to see if the FIFO has data in it before reading anythin out of it. Note that the length byte indicates the number of bytes in the packet whereas the amount of data in the FIFO includes the length byte. You will need to read the RXFIFOCNT register to see how many bytes are in the FIFO.
If this post has answered your question, even if not the way you wanted, please indicate so by clicking the Verify Answer button on this post.Please start a new thread if your question is not closely aligned with the original post in this thread as it makes searches more effective.If responding to a post please click the Reply button on the post you are responding to rather than merely defaulting to the bottom post.
The FIFO being used for receiving the data from the end device. I am unable to find the way to configure the data from the RX-FIFO in the coordinator to the PC.
i am getting error due to that ......
I need to know that ,
the data transmitted from the end device gets stored in the RXFIFO of the Coordinator?
how can i use the RXFIFO of the coordinator in the program in Z-stack for accessing the incoming data from the end device?
The port configuration for the uart is based on the pins
for Eg. the TXD pin is in Port 5.6 and how can I select as the port 5 and 6th pin as it is not referred in the documents
and I am getting error due to that...
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.