I am using the Wireless Development Tool EZ430-RF2500 with CC2500.
Here is my problem, hopefully somone could help me:
I am just using the simple Peer-to-Peer sample project. In my project the talker gets a acceleration data and sends it immediately to the listener. For this I am getting every 0.5 ms a new acceleration value. I need it so fast because of the sample rate for the detecting signal to avoid aliasing effect. Before I implemented it I measured the time wich the function SMPL_Send needs for sending the message. If I am using 1 MHz and send a message size of 5 bytes it takes 5.78 ms, for 8 MHz 2.3 ms. But it is still too long, because in the meantime I will get already a few new acceleration datas. So there is a time running conflict.
How can I decrease the sending time? Maybe without using SimplicTI, just using the MRFI_Transmit and MRFI_Send functions (How could I implement such a thing?)? Or can I minimize the calibration time of the oscillator of CC2500 without problems, now it is about 600 µs. But it would be not enough.
Maybe somone is able to help me.Many thanks.Bests
do you activated the "APP_AUTO_ACK" compile option? If yes, the SMPL_Send() function will basically wait for a reply. Please refer here:
check your smpl_nwk_config.dat to see whether the APP_AUTO_ACK is activated.
Hope this helps.
it is disabled. Now I will try to collect at least 14 databytes and send them. Because I will get the datas due to interrupt, it will hopefully work.That means if I give SMPL_Send() the message the program will build "parallel" a new message variable. From SMPL_Send() the programm should be able to serve interrupts and exit the function because interrupts that use SPI (I use the acceleration sensor with spi) will only be disabled in some functions of mrfi_spi. Maybe one or two data points could be lost.
Thanks for your fast help.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.