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

nrc_ps_set_gpio_ functions not working #11

Open
woutervhoof opened this issue Apr 26, 2023 · 0 comments
Open

nrc_ps_set_gpio_ functions not working #11

woutervhoof opened this issue Apr 26, 2023 · 0 comments

Comments

@woutervhoof
Copy link

Hi,

When the NRC7292 goes into deep sleep, the GPIO pins will be in output low state. Only pins GP00, GP01 and GP07 will go into high-Z state, if i measured correctly. This is not useful for my application so I hoped I could change this with the new nrc_ps_set_gpio_ functions from the SDK v1.4.

I tried calling following functions before calling the nrc_ps_deep_sleep function:

nrc_ps_set_gpio_direction(0x7);
nrc_ps_set_gpio_out(0x7);

This didn't change anything with the pin configuration.

Furthermore, I tried the included sample_ps_schedule sample from the SDK (https://github.com/newracom/nrc7292_sdk/tree/master/package/standalone/sdk/apps/sample_ps_schedule). This example uses the new nrc_ps_set_gpio _functions. This also didn't change the stock pin configuration to the configuration that is defined in the example code.

Is there anything I missed to use these functions?

Thanks in advance!

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

1 participant