Cellular UDP on nRF9151 DK does not enter PSM

Hello,

I am trying to measure nRF9151 current using Power Profiler Kit II, running Cellular UDP project on EVK and following the steps in:

https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/cellular/udp/README.html

Added the following lines to prj.conf:

CONFIG_SERIAL=n
CONFIG_TFM_LOG_LEVEL_SILENCE=n
CONFIG_UDP_DATA_UPLOAD_FREQUENCY_SECONDS=30
It seems the modem doesn't enter PSM mode in the image below:

Thanks in advance for your comments and insight to help resolve this issue.

Roya

Parents
  • Hi Roya,

    Are you sure that you are requesting PSM, etc.?

    Could you try running eg. XMONITOR for me? There is a bit on this here and here.

    Regards,

    Elfving

  • Hi Elfving,

    My understanding was that running Cellular UDP sample project would be sufficient as a standalone code to check power consumption in PSM mode. PSM is already enabled with 60 min RPTAU, and I just need to configure the data upload size (default: 10) and upload frequency (e.g. 30 sec).

    Please see below the prj.conf of UDP project:

    # General config
    CONFIG_PICOLIBC_IO_FLOAT=y
    CONFIG_NCS_SAMPLES_DEFAULTS=y
    CONFIG_SERIAL=n
    CONFIG_TFM_LOG_LEVEL_SILENCE=n

    # Network
    CONFIG_NETWORKING=y
    CONFIG_NET_NATIVE=n
    CONFIG_NET_SOCKETS=y
    CONFIG_NET_SOCKETS_OFFLOAD=y
    CONFIG_POSIX_API=y

    # LTE link control
    CONFIG_LTE_LINK_CONTROL=y

    # Modem library
    CONFIG_NRF_MODEM_LIB=y

    # Heap and stacks
    CONFIG_HEAP_MEM_POOL_SIZE=1024
    CONFIG_MAIN_STACK_SIZE=4096
    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048

    CONFIG_UDP_DATA_UPLOAD_FREQUENCY_SECONDS=30

    # LTE parameters
    ## PSM
    CONFIG_UDP_PSM_ENABLE=y
    CONFIG_LTE_PSM_REQ_RPTAU="00100001"
    CONFIG_LTE_PSM_REQ_RAT="00000000"

    ## eDRX
    CONFIG_UDP_EDRX_ENABLE=n

    ## RAI
    CONFIG_UDP_RAI_ENABLE=y

    ## Enable required LTE link control modules
    CONFIG_LTE_LC_EDRX_MODULE=y
    CONFIG_LTE_LC_PSM_MODULE=y
    CONFIG_LTE_LC_RAI_MODULE=y

    - On your second question, please see below the result:

    > AT+CPSMS=1,,,"00101000","01000001"
    OK
    > AT+CPSMS?
    +CPSMS: 1,,,"00101000","01000001"
    OK
    > AT%XMONITOR
    %XMONITOR: 5,"","","302720","757B",7,12,"007A637A",101,5060,54,34,"","11100000","11100000","01001001"
    OK

    It seems the network has not enabled the requested PSM mode, is it correct?

    Thank you,

    Roya

  • After a second look I agree that the sample should fix everything in regards to PSM on its own.

    _rd said:
    %XMONITOR: 5,"","","302720","757B",7,12,"007A637A",101,5060,54,34,"","11100000","11100000","01001001"

    Yeah, looks like it. You could contact your cell provider to figure out what you need to do here. It's typical that they have some requirements as to eg. the period requested for it to be granted.

    Regards,

    Elfving

Reply
  • After a second look I agree that the sample should fix everything in regards to PSM on its own.

    _rd said:
    %XMONITOR: 5,"","","302720","757B",7,12,"007A637A",101,5060,54,34,"","11100000","11100000","01001001"

    Yeah, looks like it. You could contact your cell provider to figure out what you need to do here. It's typical that they have some requirements as to eg. the period requested for it to be granted.

    Regards,

    Elfving

Children
No Data
Related