CC2530 is Not Transmitting

12 years ago
  •  dwaraka nath

Hi All,

 

I have downloaded ZBOSS and compiled for CC2530 in IAR.

 

the CC2530 is not transmitting any data when I check with Packet Sniffer.

 

Can any body tell me how to configure the stack for Transmitter and Reciever.

 

Thanks in Advance.

 

Replies (5)

RE: CC2530 is Not Transmitting

For router just right click on zdo_start_sec_zr file, select options and uncheck "Exclude from build" checkbox in upper left corner. Then check this box (to exclude it) from zdo_start_sec_zc.

 

For ED - the same procedure but before you need to add file by right-clicking to zdo_startup_sec folder and then add file option (select zdo_startup_sec_ze).

 

For ED you will also need to add ZB_ED_ROLE pre-processor option.

 

RE: CC2530 is Not Transmitting

I tried to do the same.

 

but the compiler is not adding up the code for End device.

 

here i'm attaching the screen shot of the IDE and the status of corresponding files in the project.

 

except the Coordinator none of the other files are adding to the project.

 

RE: CC2530 is Not Transmitting

ZBOSS is a protocol stack. It can be used for Coordinator, Router or End-Device.

 

For application example you can use any of provided tests. Just enable one of the tests from tests folder and disable your current test. All tests have prefixes like _ed, _zr or _zc which points on what device will be built.

 

RE: CC2530 is Not Transmitting

Later I have seen It is transmitting.

 

But when I compile in IAR, it is compiling for Zigbee Coordinator.

 

How can I change it for Zigbee End device or as a Router..

 

RE: CC2530 is Not Transmitting

By default ZBOSS starts on 14(0xE) channel. Are you sure there's no packets on this channel?

 

Channel mask can be configured in zb_config.h by changing

 

[code]

 

#define ZB_DEFAULT_APS_CHANNEL_MASK (1l<<14)

 

[/code]