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