nrf power managment over UART

Hello ,

I m using SES v5.6 and NRF52805 ,ble_app_uart ex (nRF5_SDK_17.1.0),

Requirement -need to wake up and reset  ( or start advertising again) from sleep mode ,when RX available from MC .

how can i get approach to this point .?

  • Hi,

    Do you have an interrupt pin between the MC and nRF, to indicate that the MC have data to send? If you want to use the UART RX pin for this purpose, you may do so by configuring the pin as a wakeup pin from System ON or System OFF sleep mode, and configure the pin as UART after wakeup. Note that wakeup/reset/configuring of UART will take some time, so you will most likely lose some bits/bytes from the first pin toggle that will wake the chip at the start of UART transfer (depending on baudrate, etc). Wakeup from System ON will be faster, but the current consumption during sleep will be higher.

    See the Pin Change Interrupt Example in the SDK, and these examples on GitHub (a bit outdated, but the functionality should be similar in later SDK versions).

    Best regards,
    Jørgen

  • Hi Jorgen,

    At this time my custom PCB has only RX TX interface with MC ,So i have to use RX(p18) as external interrupt at this stage,Thanks you very much for the guidence and will be updated the progress soon.

Related