Skip to content

NAV PVT callback not working when using UART on Teensy #84

@Turtle9er

Description

@Turtle9er

Hi,

I have been trying to get the example "CallbackExample6_UseCallbackDataInLoop.ino" to work with UART1 on the SAM-M10Q, and I can't seem to get it to stream in data like when I use the same example with I2C. I have kept the example exactly the same except for adapting for serial. The sensor connects at the correct buad rate and I can read/write settings to the module, however the callback only fires at random times, usually 60+s between each one. The default example with i2c fires every 0.5s without fail.

Serial seems to work with all the other examples, but can't figure out why callbacks won't work. From my research, both serial and i2c should both work with callbacks, since the data is just read in to UBX and then pulled out with my callback. I have also used 'myGNSS.setUART1Output(COM_TYPE_UBX);', and data does show up, just not at the correct interval.

I am using the sparkfun SAM-M10Q module with a teensy 4.1, baud set at 115200

Seems there is a checksum error when using serial
.......process: incoming "automatic" message: Class: 0x1 ID: 0x7 logBecauseAuto:1 logBecauseEnabled:0 ...........Checksum failed: checksumA: 92 checksumB: 92 rollingChecksumA: 33 rollingChecksumB: 206

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions