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.

CC2530-ZNP SPI Problem

Other Parts Discussed in Thread: CC2530, Z-STACK, CC2591

Hi!

We start project use CC2530 with ZNP software and we have same problems.

When I try use Simple_API and interconnect by SPI we have next –

  The initialize is right. I get SRSP replay from ZNP(CC2530). The status of replay is right (zero).

  When I start stack(the ZB_START_REQUEST{00 26 00} command (I made ZB_APP_REGISTERS_ REQUEST{0D,26,0A,0E,55,55,00,07,01,00,01,AA,00,01,FF,00} early)) I must get from ZNP the firs SRSP and after, my be sometime, AREQ Zb_Start_Confirm (0x01 0x46 0x80 0x00). Like wrote in documentation.  I get SRSP replay for both command and two AREQ. The ZDO_STATE_CHAGE_IND (0x01 0x45 0xC0 0xXX) и AREQ Zb_Start_Confirm (0x01 0x46 0x80 0x00). It if device starts correct. But  I get this AREQ replays very unstable and CC2530 doesn’t  go to “sleep” mode.  But I can “see” ZigBee device by sniffer.

 All experiments were next configuration 1 coordinator and 1 end device.

  This problem is absent with UART. All work properly and stable. 

 

If  I  try UP AF_Interface the situation is better. But connection to ZigBee network is still unstable. After I send ZDO_STARTUP_FROM_APP APP {02,25,40,00,00}  command I get SRSP reply from ZNP but sometime I don’t get AREQ(_STATE_CHAGE_IND (0x01 0x45 0xC0 0xXX)) reply. And device doesn’t go to sleep mode. When I use UART all work properly.  This problem only with SPI.