Other Parts Discussed in Thread: CC2530, CC2530EM
Hello everyone. I'm using CC2530EM + SmartRF05 running ZNP version 2.5.0. My application processor is a DSP from Analog Devices and it uses SPI to interface with CC2530. I'm following these steps to initialize ZNP:
1. Reset CC2530
2. Release reset pin (high)
3. After ~2.5ms ignore a glitch in SRDY pin (~0.34ms duration)
4. SRDY goes low, send POOL cmd
5. Receive SYS_RESET_IND
6. Write to ZCD_NV_STARTUP_OPTION using ZB_WRITE_CONFIGURATION cmd, set STARTOPT_CLEAR_CONFIG and STARTOPT_CLEAR_STATE
7. Reset CC2530 using SYS_RESET_REQ command
8. Repeat steps 1~5
9. Configure as a ROUTER using ZB_WRITE_CONFIGURATION cmd to write to ZCD_NV_LOGICAL_TYPE
10. Configure PANID using ZB_WRITE_CONFIGURATION cmd to write to ZCD_NV_PANID
11. Configure CHANLIST using ZB_WRITE_CONFIGURATION cmd to write to ZCD_NV_CHANLIST
12. Send ZB_APP_REGISTER_REQUEST
13. Send ZB_START_REQUEST
After receiving SRSP 0x00,0x66,0x00, SRDY goes low indicating that ZNP wants to send AREQ. Application processor sends POOL cmd.
After SRDY goes high, receive ZDO_STATE_CHANGE_IND
SRDY goes low again, App Proc send POOL cmd, but the MISO line shows 0x02, 0x02, 0x02.
App proc receive 0x00, 0x00, 0x00.
SRDY goes low again, App Proc send POOL cmd
And this keep going...
Isaque Suzuki




