I’m working with a project where I want to send 5 packets 255bytes long. Then go to deep sleep mode for minimmum current consumption. After some minutes (15min at all) I want to send another 5 packets 255 bytes long.
I currently have the ability of send this 5packets I was talking about and then go to deep sleep. With DIO0 I can wake up the processor to send one more time this 5 packets.
Here I post you my current graphics about the behaviour of my program:
As you can see in the graph, there are some problems I set out below:
- First of all, the bitrate I can achive is very poor. It is about 9.6kbps at best. Someone can kindly explain me how to increase it to 2Mbps?
- Looking at my measurements, I realised that one of the problems with the low bitrate could be the moment between the trasmission of the packets, when the transmitter goes to sleep mode (not deep sleep). In this case, how could I do a burst to send data at maximmum bitrate? In case to be impossible, how can I reduce the sleep time to its minimmum value?
By the way I give you some data about my setup. I am working with a standard RSL10 SIP development board ( RSL10-SIP-001GEVB, Evaluation Boards from ON Semiconductor) as a transmitter and for now I have my smartphone as a receiver.
For measuring the current I am using an Agilent B2912A Precision Source/Measure Unit that feeds the development board and measures it’s current.
Also I am using as project sample the peripheral_server_ext project where I found it in the Software Package in the CMSIS Pack (v10.3.5.285) and I am working with the Eclipse-based IDE from OnSemi’s webpage.
Here I attach you my modified project if it can help to understand my issues. (I upload it on my GitHub repository because I can upload it on this post since it is too big):
I would greatly appreciate your suggestions.