Coder Social home page Coder Social logo

Comments (8)

PaulZC avatar PaulZC commented on September 15, 2024

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.

shecker avatar shecker commented on September 15, 2024

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.

PaulZC avatar PaulZC commented on September 15, 2024

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.

PaulZC avatar PaulZC commented on September 15, 2024

Also check you have opened the I2C pull-up resistor jumpers.

from sparkfun_u-blox_gnss_v3.

shecker avatar shecker commented on September 15, 2024

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.

PaulZC avatar PaulZC commented on September 15, 2024

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.

shecker avatar shecker commented on September 15, 2024

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.

PaulZC avatar PaulZC commented on September 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.