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.

pin configuration ZNP

i found in CC2530ZNP Interface Specification pdf there are 3 tables for 3 different configuration either if i am going to use SPI or UART, which one should i use if i am going to use the already compiled images that comes with the Zstack???

there are 3 different images

CC2530ZNP-Pro.hex, CC2530ZNP-Pro-Secure_LinkKeyJoin.hex, CC2530ZNP-Pro-Secure_Standard.hex

what is the suitable configurstion for each image and also what is the difference between them?

  • There is a readme.txt under ZNP-HexFiles folder which show you the details of these images.

    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.

    CC2530ZNP-Pro-Secure_Standard.hex - To be used with ZNP applications that use standard ZigBee security join where the NWK key is sent in the clear or is pre-configured. 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 applications demonstrate this method of handling ZDO responses.

    CC2530ZNP-Pro-Secure_LinkKeyJoin.hex - To be used with ZNP applications that use the Pre-configured Trust Center Link Key method of joining where the pre-configured trust center link key is used to encrypt the APS tunnel command which contains the NWK key. 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 applications demonstrate this method of handling ZDO responses.

  • ok thanks so much, how about the right hardware configuration that i should use, shall i use the main configuration or the alternate configuration or the ZNP kit?

  • What do you mean main configuration or the alternate configuration? I know ZNP kit but What is main configuration and the alternate configuration?

  • If you make P2_0 (CFG1) high, it will use main pin configuration which communication would go through SPI.Otherwise, if you make P2_0 (CFG1) low, it will use alternative pin configuration which communication would go through UART.