Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/08/06 06:10
Read: times


 
#111582 - 2420 interface details
Responding to: ???'s previous message
Sorry Richard, once more, my reply was not informative. Let me give you all a detailed reply now, and if you want any more details, I am happy to give.

There are 10 digital pins, out of 48 pins in the Zigbee transceiver. They are:


  • two control pins: Voltage regulator enable and Reset (no problem, they are working fine as per the datasheet).
  • four data interface pins: SPI interface: CSn, SCK, SI and SO. I can get the internal status of the pins thru the SPI interface, so these pins are also fine (no need to probe)
  • four status pins: FIFO, FIFOP, SFD and CCA (these pins are to be probed.


    Now, the status pins are generally at logic low, but they change the state as and when a packet is transmitted or received. I have a dev. board from Chipcon, which could act as a node, and I have interfaced a stand-alone 2420 module and mega8535, which is the another node. My current interest is to set up the firmware and driver for the 2420 chip. (the AVR used is not for any specific purpose, I can get hardware SPI, since 89s8252 is difficult to find).

    The status pins behave as follows: (while receiving a packet)

  • SFD: When a packet is received, and when the Start of Frame Delimiter is Valid, this pin goes high, and stays high until the packet is completely received. So, the approx. time for which the SFD pin would be high is more than 100usec.

  • FIFO: This pin goes high when a new byte arrives in the internal data buffer. This happens only after the SFD pin going high, because, then only a packet can be received.

  • FIFOP: This pin goes high when the internal buffer overflows after a defined limit. This pin will also change only after SFD pin changes.

  • CCA: Clear Channel Assesment pin, is not needed now, since this data can alternatively be got over the SPI interface.


    Richard said:
    Under precisely what conditions do you want to sample those signals?

    I can give a command over SPI to enable the reception of packets. Then the chip will respond to packets, and the status can be received over the status pins. I would like to monitor the pins before and after turning on the reception.

  • Pre-trigger time: 100-300usec is enough

  • Post-trigger time: Until the SFD goes low(until a single packet is completely received or rejected)

  • Approx time duration, 300usec (pre trigger) + ~1000usec(post trigger), and the trigger being the SFD pin going high (reception of a packet).

    (Forgive me, but I'm unfamiliar with this particular part, so those signals don't mean much to me.)

    I am sorry for my incomplete reply, dear Richard. Since this CC2420 is fairly a new device, I cant find many users and materials in the internet. And the signals are really mysterious for me!

    Whatever the packet I send, my board receives only first 3 bytes of any packet, then nothing. I have tried all possible combinations of initial settings, and so on, but dint find a clue yet. Even the technical support people give the datasheet reference as answers to my questions. There are two mysterious registers within CC2420, which are not well documented in the datasheet, and, hardly anyone knows what they are for.

    May be the clue is in these status pins, so the Logic Analyser post here.

    Thank you all for your valuable posts and comments here. I am getting highly useful data, which are, by no means, I would have learnt.

    Warm Regards,
    Vignesh


  • List of 77 messages in thread
    TopicAuthorDate
    Parallel port Logic Analyser            01/01/70 00:00      
       Maybe I can help ...            01/01/70 00:00      
          Details            01/01/70 00:00      
             Well ... YES!            01/01/70 00:00      
                Oops!            01/01/70 00:00      
                   another option            01/01/70 00:00      
                   ideas            01/01/70 00:00      
                   Try a DOS box            01/01/70 00:00      
                      When things are not going on my way..            01/01/70 00:00      
                         well            01/01/70 00:00      
                            Cost?            01/01/70 00:00      
                            cost            01/01/70 00:00      
                               Options            01/01/70 00:00      
                                  ok well            01/01/70 00:00      
                                  miniLA            01/01/70 00:00      
                                     Sorry!            01/01/70 00:00      
                                        I don't sell            01/01/70 00:00      
                                        If you want something you can build ...            01/01/70 00:00      
                                     MiniLA?            01/01/70 00:00      
                                        Buying, building and Writing..            01/01/70 00:00      
                                           You've got to decide ...            01/01/70 00:00      
                                           great start!            01/01/70 00:00      
                                              AVR!            01/01/70 00:00      
                                                 realterm            01/01/70 00:00      
                                              But they're not reall fast enough            01/01/70 00:00      
                                                 Cheat!            01/01/70 00:00      
                                                    only if it gains you something            01/01/70 00:00      
                                                       to LA or not to LA            01/01/70 00:00      
                                                          I once made one            01/01/70 00:00      
                                                             cost of time... and price of learning...            01/01/70 00:00      
                                                                there is no such thing            01/01/70 00:00      
                                                                   1MHz sampling            01/01/70 00:00      
                                                                      it's not that simple            01/01/70 00:00      
                                                                         architecture            01/01/70 00:00      
       Not sure how it compares            01/01/70 00:00      
          not very useful            01/01/70 00:00      
       there is no way in hades that a "paralle            01/01/70 00:00      
          how fast?            01/01/70 00:00      
          not so fast there, Erik            01/01/70 00:00      
             PCI LPT vs. onboard            01/01/70 00:00      
                Seems a mite slow!            01/01/70 00:00      
             yes, but part of the "software" is Windo            01/01/70 00:00      
                You're right, of course,            01/01/70 00:00      
                   all good and well            01/01/70 00:00      
                      wotizit            01/01/70 00:00      
                      That's it, exactly!            01/01/70 00:00      
                         Won't work either            01/01/70 00:00      
                            will work            01/01/70 00:00      
                               yes, but not the way you think            01/01/70 00:00      
                                  re FIFO use            01/01/70 00:00      
                                  USB+FIFO: the simplest way            01/01/70 00:00      
                                     Have you considered this?            01/01/70 00:00      
                                        simplicity            01/01/70 00:00      
                                           yes, but it's not deterministic            01/01/70 00:00      
                                              YES YES YES            01/01/70 00:00      
                                                 What do you mean "forget about..."            01/01/70 00:00      
                                                    quick'n'dirty            01/01/70 00:00      
                                                       there are countries with low labor cost            01/01/70 00:00      
                                                          labour cost?            01/01/70 00:00      
                                                       Even if it's 768 TB, it's too small            01/01/70 00:00      
                            think about it some more            01/01/70 00:00      
                         10MHz?            01/01/70 00:00      
                            Not the USB, the FIFO!            01/01/70 00:00      
                               USB logic analyzer            01/01/70 00:00      
                                  It's just a transfer mechanism            01/01/70 00:00      
                Zigbee timing            01/01/70 00:00      
                   if a byte is 32 then a bit is 4 and you            01/01/70 00:00      
                   arrrrrrrrrrrrgh and stuff,just use pci            01/01/70 00:00      
                      Yes, well, what did you expect?            01/01/70 00:00      
                         better mousetrap            01/01/70 00:00      
                   I must have been more precise            01/01/70 00:00      
                      but WHEN?            01/01/70 00:00      
                         2420 interface details            01/01/70 00:00      
                            Focus on your current needs            01/01/70 00:00      
                               Thank you            01/01/70 00:00      
       reconstructed website            01/01/70 00:00      
       Update            01/01/70 00:00      

    Back to Subject List