This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

sleep w memory rentention problem

hi,

i'm not able to have the nRF24LE1 go to sleep. I'm using the example at the link below, to which I've added code for UART and ADC usage. Is there a way to end the UART (the opposite of the hal_uart_init() function)?

I need the LE1 to wake up, take an analog reading, write it to the UART, then go to sleep for x seconds. I'd like it to sleep for 10 seconds but it seems 2 is the maximum I can get with this MUP.

code example:

www.nordicsemi.com/.../How-to-setup-memory-retention-timers-on-on-the-nRF24LE1

In the example, what do these lines do?

IEN1 = 0x20; EA = 1;

// Go to standby mode and wait for RTC interrupt

PWRDWN = 0x07; // Clear power down

PWRDWN = 0x00;

Thanks!

Mahesh

Parents
  • Hi,

    I understand your questions, but I think it will be difficult for you to start developing your project on a rather old 8-bit MCU which we are no longer actively updating the SDK or documentation, and have limited debugging.

    I would recommend you to check out the nRF5232 or nRF51822 instead. These two chips are being updated regularly with both new documentation and SDK.

    Best regards,

    Kenneth

Reply
  • Hi,

    I understand your questions, but I think it will be difficult for you to start developing your project on a rather old 8-bit MCU which we are no longer actively updating the SDK or documentation, and have limited debugging.

    I would recommend you to check out the nRF5232 or nRF51822 instead. These two chips are being updated regularly with both new documentation and SDK.

    Best regards,

    Kenneth

Children
No Data
Related