Part Number: CC2530
Other Parts Discussed in Thread: CC2592
Hello. I'm trying to run cc2530 HA examples on custom boards (previous i successfully run ZNP on this boards, so they are correctly worked). I compiled SampleLight as Coordinator, and SampleSwithch as EndDevice. When i run code on MCU i saw that Coordinator sends LinkStatus packet every 15 sec. But when i run EndDevice code on another MCU - it just blinking with LED and did not connect to the Coordinator.
As i understand, i need to press some key (HAL_KEY_SW_4) to PermitJoin at coordinator. But i did not found any description in code (and documentation) what pin used for this HAL_KEY_SW_4? It's so confusing. I event tried to find SmartRF05 schematic, but with no success. Then i tried to change code and sen HAL_KEY_SW_6 instead of HAL_KEY_SW_4. I enable keys with HAL_KEYS=TRUE in preprocessor tab, set breakpoint to it, and tried to pull P0.1 down to GND, but event did not triggered ((
What i'm doing wrong? Can anyone give me some advice, how to run this examples with custom boards?
I use E18-MS1-PCB as EndDevice and E18MS1PA1-PCB (with HAL_PA_LNA_CC2592 in preprocessor) as Coordinator.
My preprocessor definitions for Coordinator:
SECURE=1
TC_LINKKEY_JOIN
NV_INIT
xNV_RESTORE
xHOLD_AUTO_START
ZTOOL_P1
MT_TASK
MT_APP_FUNC
MT_SYS_FUNC
MT_ZDO_FUNC
LCD_SUPPORTED=DEBUG
MULTICAST_ENABLED=FALSE
ZCL_READ
ZCL_WRITE
ZCL_REPORT
xZCL_EZMODE
ZCL_BASIC
ZCL_IDENTIFY
ZCL_ON_OFF
ZCL_SCENES
ZCL_GROUPS
xZCL_LEVEL_CTRL
ZCL_DIAGNOSTIC
FEATURE_SYSTEM_STATS
HAL_PA_LNA_CC2592
HAL_KEY=TRUE
And for EndDevice:
SECURE=1
TC_LINKKEY_JOIN
NV_INIT
xNV_RESTORE
xPOWER_SAVING
NWK_AUTO_POLL
HOLD_AUTO_START
ZTOOL_P1
MT_TASK
MT_APP_FUNC
MT_SYS_FUNC
MT_ZDO_FUNC
LCD_SUPPORTED=DEBUG
MULTICAST_ENABLED=FALSE
ZCL_READ
ZCL_WRITE
ZCL_REPORT
ZCL_EZMODE
ZCL_BASIC
ZCL_IDENTIFY
ZCL_ON_OFF
ZCL_DIAGNOSTIC
FEATURE_SYSTEM_STATS
Thanks very much for any help!
