How to Create Smart Energy Customized NCP project with Pre-Built NCP images Config
11/320/2017 | 08:49 AM
Overview
Silicon Labs provides pre-built NCP images and sample NCP applications for different use cases in the stack. The customer has the option to either use one of the pre-built NCP images or use sample NCP applications or a blank NCP application to build customized NCP applications.
Prerequisite resources
The below resources provide good information before continuing with generating Smart Energy customized NCP images.
The AN1010 application note provides a detailed guide about building a customized NCP application.
You can find this here:
Another useful application note is AN714, this guide provides information about the smart energy ECC-enabled device setup process.
You can find this here:
Customers cannot generate the exact copy of the pre-build images but, if they use one of the NCP sample applications and make the changes listed below then they can generate an NCP image functionally similar to the pre-built NCP images.
The steps to generate smart energy NCP image similar to pre-built smart energy NCP image:
Step1:
Start a new customized NCP project based on one of the sample NCP applications. You may select the 'xncp-commshub-uart-dual' sample NCP application for CommsHub and the 'ncp-uart-hw' sample for end devices depending on your needs.
Step2:
Select the following plugins and do not change any other already selected plugins.
XNCP Stub Library
Zigbee PRO Stack Library
Zigbee Light Link Stub Library
Zigbee PRO Core Security Library
Security Link Keys Library
End Device Bind Library
Binding Table Library
ECC 163k1 Library
ECC 283k1 Library
CBKE Core Library
CBKE 163k Library
CBKE 283k Library
Install Code Library
CBKE DSA Verify Library
CBKE DSA Sign Stub Library
CBKE 283k DSA Verify Library
Packet Validate Library
Multi-Network Stub Library
GreenPower Stack Stub Library
Concentrator Support Library
NOTE: The Concentrator Support Library plugin has been moved to the HOST side after EmberZNet 6.7.0
Manufacturing Library
For CommsHub/Coordinator devices make sure to include:
Source Route Stack Library
Step3:
Select Zigbee PRO Stack Library plugin and set Child Table Size to 32. The other settings selected by the sample NCP application are ok.
Step4:
Generate and build the project.
Attachments:
ncp-uart-hw_4150c.isc - Pre EmberZnet 6.7.0 project example
nc-uart-hw_brd4150_675 - EmberZnet 6.7.5 project example
How to Create Smart Energy Customized NCP project with Pre-Built NCP images Config
Overview
Silicon Labs provides pre-built NCP images and sample NCP applications for different use cases in the stack. The customer has the option to either use one of the pre-built NCP images or use sample NCP applications or a blank NCP application to build customized NCP applications.
Prerequisite resources
The below resources provide good information before continuing with generating Smart Energy customized NCP images.
The AN1010 application note provides a detailed guide about building a customized NCP application.
You can find this here:
https://www.silabs.com/documents/public/application-notes/an1010-customized-ncp.pdf
Another useful application note is AN714, this guide provides information about the smart energy ECC-enabled device setup process.
You can find this here:
https://www.silabs.com/documents/public/application-notes/AN714-SmartEnergyECCEnabledDeviceSetupProcess.pdf
The KBA at the link below provides information about the ECC libraries and adding them to the stack.
https://www.silabs.com/community/wireless/zigbee-and-thread/knowledge-base.entry.html/2017/06/05/how_to_add_ecc_libra-IQL1
Building the custom project
Customers cannot generate the exact copy of the pre-build images but, if they use one of the NCP sample applications and make the changes listed below then they can generate an NCP image functionally similar to the pre-built NCP images.
The steps to generate smart energy NCP image similar to pre-built smart energy NCP image:
Step1:
Start a new customized NCP project based on one of the sample NCP applications. You may select the 'xncp-commshub-uart-dual' sample NCP application for CommsHub and the 'ncp-uart-hw' sample for end devices depending on your needs.
Step2:
Select the following plugins and do not change any other already selected plugins.
For CommsHub/Coordinator devices make sure to include:
Step3:
Select Zigbee PRO Stack Library plugin and set Child Table Size to 32. The other settings selected by the sample NCP application are ok.
Step4:
Generate and build the project.
Attachments:
ncp-uart-hw_4150c.isc - Pre EmberZnet 6.7.0 project example
nc-uart-hw_brd4150_675 - EmberZnet 6.7.5 project example