Hello everyone!
We're going to use CC2530 SoC for voice data exchange between two and more radio stations. I use the "SerialApp" project in Z-Stack software packet for testing two CC2530 modules on compliance of our exchanging data requirements (57.6 Kb/s in simplex mode and 19.2 Kb/s in duplex mode). In documents, which describe 802.15.4/Zig Bee standard is written, that maximum speed of 2400 GHz bandwidth is 250 Kb/s.
As a base for transmitter and receiver on 2 PC I used serial port sniffer at first, and private software, which send definite number of bytes per definite number of milliseconds. But, unfortunately, the maximum speed I' ve got is about 24 Kb/s in simplex and 10-13 Kb/s in duplex modes.
Probably, there is something bottleneck in CC2530 receive / transmit system due the incorrect settings of chip or in my soft, I don't know. Now I'm trying to find this bottleneck, where the speed is usually falls. Thus, I have some questions, answers on which will help me to solve my problem, I hope.
1) Is there any documents with which I could calculate speed of individual nodes of CC2530 SoC? More precisely I'd want to know, for example, whether is enough 256 KB DMA buffer size, or 128 KB UART buffer size, what size TX and RX queue in MAC layer must to be, what structure of superframe must to be(size of CAP and CFP periods) to provide requiring above-mentioned speed?
2) At this moment I'm trying to configure superframe structure in Z-stack "SerialApp" project. For configuration it required to share beacon-enabled PAN. I've already found some necessary definitions in mac_pib.c and mac_spec.h, and functions, which enable beacon PAN in zmac.c, but I'd want to know exact sequence of operations, probably, I missed something.
3) I can't to find where in Z-stack "SerialApp" project is possibly to configure CFP period of beacon superframe in beacon PAN. I'm especially interested in number of configure size of CAP/CFP periods, setting each CFP period of corresponding peripheral device(router, end device). For example, configuration of length each CFP in base slot durations, capabilities to delete CFP period for single network device, etc.
If there are some documents, where were described above-mentioned problems, or somebody faced with them earlier, please, write here - I'll be glad of all advice.
Thanks for the answers, best regards, Egor.