This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Does TI provide ZNP library?

Other Parts Discussed in Thread: Z-STACK, MSP430F2274, CC2530

I find sth Derek wrote about ZNP library as below link, it seems help to me.

http://processors.wiki.ti.com/index.php/ZNP_Interface_Examples

Does TI provide this library?

 

I wanna develop ZigBee application like ZAP-MSP430-1.0.0, use "host" processor to control CC2530-ZNP,

but my host processor is PowerPC.

How should i do? Can u give me some instructions?

Do i need ZNP library to accomplish this work?

  • We're working on the library + examples for the ZNP; they're not out yet. They will originally be targeted for the MSP430 but I'm using them with a Stellaris ARM, too.

     

    --Derek

  • Dear Derek,

    Do you have any plan or schedule about the ZNP library or examples ?

    Thanks for ur kindly help.

     

    Regards,

    Slin

     

  • The source code for the ZNP libraries was released with 2.3.0-1.4.0, swrc128.zip, found here:

    http://focus.ti.com/docs/toolsw/folders/print/z-stack.html

    The example code for how to control the ZNP as its host via UART/SPI is known as ZAP (ZNP Application Processor) and is swrc173.zip, found on the above listed page as well. Z-Stack 2.3.1 and ZAP 1.2.0 will be released within weeks. And a ZNP Mini-kit with more examples of how to control the ZNP is due out late summer or fall.

     

     

     

  • Dear DH,

    Deeply appreciated your answer.

    But I am confused about u said that the ZNP libraries was released with 2.3.0-1.4.0,

    I've download this zip file, but i can't see the ZNP libraries u mentioned.

    Can you tell me where(which folder) is the ZNP libraries placed?

     

    Or i just got a big misunderstanding? i thought u said ZNP libraries are sth. like Derek wrote on wiki (znp_interface.c, znp_interface.h, znp_interface_spi.c, etc.)

    Look forward to ur answer, thank you.


    Regards,

    Slin

  • Dear DH,

    Sorry for disturbing you again.

    May i ask you a question?

    Is the ZNP Mini-kit for Application Processor use or for sth. else?

    If it's for Application Precessor use, that will be a great help for us to develop.

    Thanks for your help.


     

    Regards,

    Slin

  • ZNP is just another sample application:

    C:\Texas Instruments\ZStack-CC2530-2.3.0-1.4.0\Projects\zstack\ZNP\CC2530DB

    "ZNP Library" might be just the ZNP sample application, pre-built, so you don't have to buy the 8051 compiler - you will need the ZAP installer found on the same page as Z-Stack which places the ZNP .hex files here:

    C:\Texas Instruments\ZAP-MSP430-1.0.1\Projects\zstack\ZAP\ZNP-HexFiles

    I don't have details on the ZNP Mini-kit - I suppose it will be similar to a former kit where a small, low memory, low cost MSP is connected via SPI to the CC2530ZNP on a USB stick. 

  • ZNP mini-kit will be a MSP430F2274 + CC2530 (pre-loaded with the ZNP firmware) and a few peripherals: button, LED, light sensor, accelerometer, and headers for connecting to other stuff. It's pretty cool. Lots of great examples showing how to get up and get going.

     

    --Derek

  • Can somebody confirm if my assumtions are right and/or answer the questions ?

     

    - The ZNP binaries are provided and it can pro programmed in a CC2530 by ourselves.

    - A CC2530 with ZNP is comparable with a CC2480, but with better features (a.g. Zigbee pro)

    - The use of ZNP binaries  is royalty free ?

    - Quality of the ZNP is suitable for use in end products ?

     

    Thanks,

     

      Marcel

     

     

     

  • I can help on some of the questions.

    Marcel Gielen said:

    - The ZNP binaries are provided and it can pro programmed in a CC2530 by ourselves.

    Yes, that is correct.

     

    Marcel Gielen said:

    - A CC2530 with ZNP is comparable with a CC2480, but with better features (a.g. Zigbee pro)

    Yes.

     

    Marcel Gielen said:

    - The use of ZNP binaries  is royalty free ?

    There are no royaties to TI for the use of the ZNP binaries, but in order to use the intellectual property built into ZigBee, anyone using Z-Stack, or a ZigBee module, or ZNP (ZigBee Network Processor) must become a member of the ZigBee Alliance at least at the Adopter Level and then pay additional costs based on the number of products released.

     

     

  • Hello,

       All very good questions.

    1. Yes, the ZNP binaries are provided and you can just load it into a CC2530. TI also provides the source if you want to change stuff, but I just use the pre-built binaries.

    2. Yes, the interface is almost the same as the CC2480 but with additional features, ZB Pro, fragmentation, etc.

    3. Yes, license agreement says that it must be used on CC2530

    4. Yes, in fact that's one benefit of using the pre-built ZNP libraries; they've been tested by TI.

     

    --Derek

  • Does the ZNP mini-kit use the same binary that is there in the TI std binary list or is it a special binary ? Diff shows a difference but that just can mean they were different builds.

     

    We plan to test some of the simple API test programs with the

    "CC2530ZNP-Pro.hex" binary.

    I had asked a question about pinout in a  different post but I realize there is a SW issue too.

    Does the ZNP mini kit provide APIs other than standard ZNP ?

    Ours is a small app and I really do not want to mess with OSAL and threads. The simple_api.c interface file in the mini kit does the job but my concern is outlined above. Which is are the CC2530ZNP-Pro.hex binaries in the Zstack release and the CC2530-MK-Pro.hex binary in the mini-kit identical as far as external ZNP APIs are concerned ? If they are why are there two sets of binaries ?
    I cannot see anything in the ZNP Interface spec which would suggest otherwise but one never knows !

    The README in teh prod binary directory for example has this comment

    "CC2530ZNP-Pro.hex - To be used with ZNP applications that do not use security. When using this image, the host processor
    must register for specific ZDO callbacks using the ZDO_MSG_CB_REGISTER API, and will be notified of the response via
    the ZDO_MSG_CB_INCOMING command. The included ZAP sample applications demonstrate this method of handling ZDO responses."

     

    But the Mini Kit examples just enable call back without calling ZDO_MSG_CB_REGISTER. Does that mean that the mini kit binary has some defaults enabled ?

    Hos is that the mini kit  examples are able to use call back functions like  ZDO_IEEE_ADDR_RSP ?

    Madhu

     

  • Hello Madhu,

    ZNP implements SPI interface with two pin configurations as explained in the ZNP Interface specification documentation (main pin configuration and alternate pin configuration). While this is a difference on what pins ZNP uses to talk to application processor ZNP functionality do not differ.

    In the ZNP Mini Kit examples callbacks are enabled while doing start up by using the function

    setCallbacks(CALLBACKS_ENABLED); 

    Regards,

    Suyash Jain

     

     

  • Hi,

    I'm developing application on cc2530 and using one of three hex files provided by TI (pro, pro secure linkkey and pro secure standard). I've heard and read (in this thread) that TI provides us with source code of those binaries but i couldn't find it. So my question is how can i get that ZNP source code for my cc2530?

    Thank you,

    Marko Kosanovic

  • The source code an project files to build ZNP are included in the "full" version of the ZStack-CC2530-2.4.0-1.4.0 release ( http://focus.ti.com/docs/toolsw/folders/print/z-stack.html ). Once you install this product, look in: C:\Texas Instruments\ZStack-CC2530-2.4.0-1.4.0\Projects\zstack\ZNP and you should find everything you need.