newracom / nrc7292_sdk

NRC7292 Standalone SDK Package
http://www.newracom.com/product
MIT License
36 stars 13 forks source link

nrc_ps_set_gpio_ functions not working #11

Open woutervhoof opened 1 year ago

woutervhoof commented 1 year ago

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_deepsleep 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_psschedule 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_setgpio _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!