-
Notifications
You must be signed in to change notification settings - Fork 7.6k
gnss: Add UBX F9P driver #90027
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
gnss: Add UBX F9P driver #90027
Conversation
@bperseghetti @PetervdPerk-NXP would you mind providing some feedback on the UBX config-set for F9P (last two patches)? I'd like to know if I should be pulling some more levers. EDIT: RTK support will come on a follow-on PR. |
471354d
to
778cf29
Compare
caeb352
to
df473cd
Compare
UBX_FRAME_DEFINE(nav_fix_mode_auto, | ||
UBX_FRAME_CFG_VAL_SET_U8_INITIALIZER(UBX_KEY_NAV_CFG_FIX_MODE, UBX_FIX_MODE_AUTO)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Users might want an easy way to force this to 3D only outside of setting the dyn model.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be exposed through a device-tree property, however I'd suggest considering this (and the filtering config) as out of scope for the current PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks great to me!
My provided inline comments are for suggestions of potential future expansion and in no way need addressing for this particular PR. Also to those comments I might add that we could in the future also maybe implement some more of the nav input filters from Page 24.
Thanks for this great contribution!
df473cd
to
d6883e0
Compare
CI failures are unrelated. Other occurrences: |
Change requests should be addressed. Feel free to take another look @bjarki-andreasen @bperseghetti |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Last nit is just a nit
Basic support: initialization for sending/handling UBX messages and run-time navigation configurability through GNSS API. Signed-off-by: Luis Ubieda <[email protected]>
For build-time validation. Signed-off-by: Luis Ubieda <[email protected]>
d6883e0
to
c9f391e
Compare
Just rebased given the unrelated failure was fixed on main-line #90971 |
|
Description
Introducing basic support: Initialization and sending/handling UBX commands through modem_ubx.
Also supports run-time configurability through GNSS APIs and default build-time fix-rate through device-tree binding.
Testing
Run GNSS sample with F9P GNSS module (on
vmu_rt1170/mimxrt1176/cm7
) and verify navigation data & satellites data is output, as well as GNSS APIs work (e.g: addgnss_set_fix_rate()
andgnss_set_navigation_mode()
and verify it's effective.