Comments (8)
Hi Nico (@NicoZobernig ),
I have seen modules where they are 'reluctant' to go into SPI mode if they have been used previously for I2C / UART. I think it has something to do with the port or message configuration - stored in battery-backed RAM and/or Flash.
I suggest connecting the F9R board to a Windows PC via USB and use u-center to reset the module back to its default settings. You do this using UBX-CFG-CFG. More details are here: sparkfun/SparkFun_u-blox_GNSS_Arduino_Library#191 (comment).
You can have both u-center USB and Arduino SPI connected at the same time. Leave your Arduino code running and leave the Serial Monitor open, do the reset, and you should see the Arduino code begin.
Please close this issue if this solves your problem.
Best wishes,
Paul
from sparkfun_u-blox_gnss_v3.
Hi Paul (@PaulZC)
Thank you for the quick reply!
We are able to connect via SPI by resetting the board via u-center however the connection is very unstable in the sense that it takes around 20 tries until it can establish a connection with the module and sometimes fails completely.
Is that normal behavior?
Thanks,
Simon
from sparkfun_u-blox_gnss_v3.
Hi Simon,
No, that's not normal...
I wonder if the POCI (MISO) pin needs a pull-up? Try adding a 10K pull-up resistor between POCI (MISO) and 3.3V. Does that make any difference?
If not, try analyzing the SPI traffic using a logic analyzer. Any clues there?
Best wishes,
Paul
from sparkfun_u-blox_gnss_v3.
Also check you have opened the I2C pull-up resistor jumpers.
from sparkfun_u-blox_gnss_v3.
Hi Paul
We will try with the 10K pull-up resistor. Regarding the I2C pull-up resistors, these are open by default / factory correct, so as long as we didn't close them they should be fine?
Thanks,
Simon
from sparkfun_u-blox_gnss_v3.
Yes, that should be fine. The jumpers were normally-closed on the earliest boards, but we later switched to normally-open.
Hope all is well in Switzerland,
Best,
Paul
from sparkfun_u-blox_gnss_v3.
Hi Paul, I added a 100K pull-down to POCI (MISO), that seems to have done the trick, thanks!
Yes all is well in Switzerland, we had some busy integration weeks but things are coming together.
Hope all is well with you as well!
Best,
Simon
from sparkfun_u-blox_gnss_v3.
Hi Simon,
All is well here. Busy as usual!
OK - glad that's working for you. But that is a surprise... I thought a pull-up might help. A pull-down shouldn't make any difference. But, if it is working, it is working!
Please check your GND connection. You need to have GND, 3V3 (or 5V), PICO, POCI, SCK and CS connected between the two boards.
Please close this issue if you are happy.
Best,
Paul
from sparkfun_u-blox_gnss_v3.
Related Issues (20)
- Receive GSA and GSV HOT 2
- lastCorrectionAge in UBX-NAV-PVT is missing HOT 1
- [Feature Request] Add support for UBX ESF-RESETALG HOT 1
- CAM-M8C not detected (regression issue from version 2) HOT 2
- Compatibility with MIA-M10 HOT 1
- Missing callbacks for NMEA messages HOT 3
- RTK Corrections unavailable when using RTK Express HOT 4
- [Enhancement] Add support for L5 signal health configuration on the NEO-F10N HOT 1
- [Enhancement] Add support for the LNA mode configuration on the NEO-F10N HOT 1
- Data is not stored in BBR after myGNSS.powerOff() (software backup mode is not working) HOT 13
- NTRIP Connection dropped HOT 6
- Control the rate of data from NTRIP Caster HOT 10
- SV data updates very slow, over 10 seconds between valid data. HOT 7
- Relative Position NED not returning proper data over I2C. HOT 6
- getModuleInfo() fails for UBX-M10050-KB HOT 2
- Error in connecting in serial mode HOT 2
- getMeasurementRate() returns inconsistent values HOT 1
- ZED-F9R: UART1 Dying After around 10mins of usage HOT 7
- I2C held up for over 1sec HOT 4
- Powering off using EXTINT HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sparkfun_u-blox_gnss_v3.