Project

General

Profile

Actions

Bug #5708

open

rs422: Support runtime re-init of the GPS receiver

Added by tnt over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
10/13/2022
Due date:
% Done:

0%

Spec Reference:

Description

Currently if the GPS receiver side doesn't have power, init will fail and never recover without a reboot.

This is because without power on that side, we can't talk to the I2C IO expander on the isolated side to initialize it and set up the RS422 transceiver ...

Solution is that if we haven't seen NMEA messages in a few seconds, try to re-init the I2C IO expander (default state on reset/power loss is everything disabled to be safe).

One thing to pay attention to is that I2C is slow. And the current I2C driver code is blocking, so we'd need to check the init sequence isn't too long and doesn't block the main loop processing for too long which would cause USB over/underflows ...


Related issues

Related to OCTOI - Osmocom Community TDM over IP - Feature #5625: icE1usb gateware/firmware support for external GPS receiverResolvedtnt07/22/2022

Actions
Actions #1

Updated by tnt over 1 year ago

  • Related to Feature #5625: icE1usb gateware/firmware support for external GPS receiver added
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)