Hello all,
I have been a passive reader of this forum for a long time and am finally at a stage where I need some expert opinions
I am working on an RF link which is showing basic functionality. I must add here that I am not using the library directly but am following the structure as shown here. I am currently optimising timings for my code and came across some major delays that I cannot explain. Let me summarize the situation.
We have a setup where we are sending a 64 byte packet at a data rate of 38400 bps. Accordingly we have configured the interrupt to trigger after the packet is sent. For the 512 bits at the above rate, one would expect a transmission duration of about 13.33 ms. What we measure though is around 110 ms. This factor of nearly 8 or 9 is consistent for data rates up to 300000 bps. The time measurement is triggered after the rfm69 enters TX mode and stopped when the interrupt goes high. Thus, the time required to write the FIFO is not included here (It is anyway of the order of 5 ms)
Is there any explanation for this behavior or has anyone else noticed this or something similar? The result is of course that our throughput suffers greatly. Am I missing any settings? I am using the default library settings for 38400 bps.
Any help / suggestions would be welcome.
Best regards,
Shailesh