Hello! I already ended Zigbee Boot Camp hands-on(Hands on : Forming and Joining and Hands on : Sending on/off commands) for brd4182a. It's worked!
Now I want to make zigbee application for my custom radio board with EFR32MG22 chip.
Many hands-on said that the best way to make Zigbee app for custom boards is use Example code and change it for own board. But I met some problems in this method.
Zigbee example needs several pins wich absent on my board. For example UART pins, PTI pins etc.
Therefore when I build the project I get undeclared pins.
To find some manuals or hands-on for this theme is complicated.
Many of forum questions for this theme is unanswered.
" you can refer to the brd4182a project to configure the peripherals." For right configuration for my board I should delete all excess pins from brd4182a connfig file, wich absent on my board. But If I do this the project can's build.
Here the difference between my board simplest configuration and brd4182a ZigbeeMinimal configuration:
So, how I can delete PTI pins from the Zigbee Minimal project, but avoid configuration errors?
Basically, you can disable PTI in hwconf to avoid compiling issue.
Do you disable PTI in “DefaultMode Peripherals” tab in hwconf?
I suppose you can use the following code to write installation code.
Gregoire Martin hi. I have read this document AN1089 before. In this document say how to install the install code by using commander and serial interface. I have no serial interface on my custom board. I have no UART/USART and PTI etc. I have only SWD for programming.
There is no function with halCommonSetMfgTokenData name or similar. I use simplicity v5. Could this be a reason ?
You can use halCommonSetMfgToken to set the values of manufacturing tokens. Note however that setting manufacturing tokens such as the install codes and the custom EUI64 are typically done on the production line and are not intended to be done via the application layer code. I would highly recommend that you read our User Guide about how to use manufacturing tokens.
@Georgy Olinichenko , halCommonSetMfgTokenData is defined in mfg-token.h. I can use it in my application callback directly without problem.