Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controlling power completely with EXTINT #228

Closed
gauteh opened this issue Aug 7, 2024 · 3 comments
Closed

Controlling power completely with EXTINT #228

gauteh opened this issue Aug 7, 2024 · 3 comments

Comments

@gauteh
Copy link

gauteh commented Aug 7, 2024

Hi,

it is currently possible to put the device to sleep with powerOff, this is a bit fragile since the device can easily be woken up again. It should be possible to configure the device to be completely controlled by the EXTINT pin: https://content.u-blox.com/sites/default/files/MAX-M10S_IntegrationManual_UBX-20053088.pdf (3.6.2.5 and 3.6.2.6). As far as I can see this is not currently possible with this driver. Would it be possible to implement this?

Best regards,
Gaute

@PaulZC
Copy link
Collaborator

PaulZC commented Aug 7, 2024

Hi Gaute (@gauteh ),

I think you will need to do the following:

The code will look something like:

myGNSS.newCfgValset(); // Defaults to configuring the setting in RAM and BBR
myGNSS.addCfgValset(UBLOX_CFG_PM_EXTINTBACKUP, 1);
myGNSS.sendCfgValset(); // Send the packet using sendCfgValset

Full Example

Best wishes,
Paul

@gauteh
Copy link
Author

gauteh commented Aug 7, 2024

Hi, thank you! I was already using v3 (I got confused between the versions). I will try this, thank you very much!

@PaulZC
Copy link
Collaborator

PaulZC commented Aug 7, 2024

No problem! I am closing this. If you need more help, please open a new issue in v3.

Best,
Paul

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants