-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhacement proposal: interupt based diversity calculation #8
Comments
For diversity calculation we could use one of timers interrupt to make it time constant. The RSSI values are constantly updated via DMA. Of course this should be improved using a little filtering that will give much better results, i.e. Yi = a * Xi + (1- a)*Yi-1 where 0 < a <, Xi is current ADC value, Yi is current filtered value, Yi-1 is last filtered value. |
I've measured looptime and it is <= 1ms. |
Ok, sounds fast enough loop. |
I think it's too complicated filtering. Making RSSI readouts with perdiodically called timer interrupts can give us also place for constant time diversity switching code calls that You proposed. |
sounds good. |
Got the receiver status page working. |
is this firmware finaly the one that let this pro58 work how it shut be?? |
It works fine i have 2 pro58 with version v5 and working without issue.
…Sent from my iPhone
On Jan 6, 2018, at 3:24 AM, WannaDuino ***@***.***> wrote:
is this firmware finaly the one that let this pro58 work how it shut be??
i have this thing laying for nothing because its NOT working... so help?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@wannaduino |
To ensure rssi calculation is not affected by other functionalities it could be handled as a separate interupt. This would give control of frequency of diversity calculation.
Also dma for rssi could be changed to be compile time controllable so that dma would store more then 1 values and then calculate average of those to be used on diversity calculation. This would clean rssi values.
The text was updated successfully, but these errors were encountered: