GPS HDL Reference Applications Overview Not Working
Show older comments
I am working with the GPS HDL reference example from MathWorks:
I am implementing this design on ZCU48DR hardware with the following configuration:
- RFDC configured for 4 samples per stream and 5× decimation
- Input sample rate: 3922.168 MSPS
- After additional decimation, the signal enters the acquisition and tracking IP GPS HDL Acquisition and Tracking Using C/A Code - MATLAB & Simulink at 32.768 MHz
- The clock provided to the IP is 196.608 MHz
- GPS HDL Acquisition and Tracking Using C/A Code - MATLAB & Simulink, and GPS HDL Data Decode and Position Estimation - MATLAB & Simulink are integrated into a single IP, similar to the reference design
- I have also verified the 1 kHz navigation data rate on hardware
Issue:
- The acquisition stage works correctly (satellites are detected and tracking is stable)
- However, in the decoding stage, frame synchronization fails
- This suggests that the LNAV data is not valid
To further debug, I generated an 8-second LNAV signal from the acquisition and tracking HDL model in simulation, but the decoder still fails to decode that LNAV signal.
Questions:
- Has this GPS HDL reference example been validated on hardware (particularly ZCU48DR or RFSoC platforms)?
- What could cause frame synchronization failure even when acquisition and tracking appear correct?
- Could there be an issue with bit alignment, timing, or scaling between tracking output and decoder input?
- Is there any recommended method to verify LNAV integrity before decoding?
Any guidance on where to debug this issue would be greatly appreciated.
3 Comments
Mohsin
on 6 May 2026 at 7:51
Karthik Akula
on 8 May 2026 at 10:05
did you get a chance to verify until position estimation in simulation?
Is the partitioning b/w HW SW taken care of?
Is the data decoding part is modified to operate at the 196.608 MHz in Simulink?
How is "1KHz" navigation data rate verified?
I think the waveform generation in acquisition and tracking is not sophisticated enough for the entire chain. it's meant for only acquisition and tracking.
Are you using the workflow defined in https://www.mathworks.com/help/soc/ug/gps-acquisition-using-rfsoc-device.html?
Are you modifying this example to include data decoding or is it a completely newer one?
Mohsin
about 1 hour ago
Answers (0)
Categories
Find more on Code Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!