Hi,
I am having problems getting PSM mode, or at least getting a decent power consumption in PSM mode, because I think the PSM in working properly.
I am using the EVB nRF9151-DK but I am not able to get a current consumption about 4-5uA.
This is my prj.conf:
# Logging CONFIG_LOG=y # Button and LED support CONFIG_DK_LIBRARY=y # Newlib CONFIG_NEWLIB_LIBC=y # Enable printing of floating-points CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y CONFIG_FPU=y # Network CONFIG_NETWORKING=y CONFIG_NET_NATIVE=n CONFIG_NET_SOCKETS=y CONFIG_NET_SOCKETS_OFFLOAD=y # Memory CONFIG_HEAP_MEM_POOL_SIZE=4096 CONFIG_MAIN_STACK_SIZE=4096 # Modem library CONFIG_NRF_MODEM_LIB=y # LTE link control CONFIG_LTE_LINK_CONTROL=y CONFIG_LTE_NETWORK_MODE_LTE_M_NBIOT_GPS=y # Use onboard antena with COEX0 by default CONFIG_MODEM_ANTENNA_GNSS_ONBOARD=n CONFIG_MODEM_ANTENNA_GNSS_EXTERNAL=y CONFIG_GNSS_PERIODIC_INTERVAL=300 CONFIG_GNSS_PERIODIC_TIMEOUT=600 # (For >= v2.8.0 only) Enable eDRX and PSM module CONFIG_LTE_LC_EDRX_MODULE=y # Enable PSM mode even when network would not allow it. # This requires modem firmware v2.x. CONFIG_LTE_LC_PSM_MODULE=y # Enable Sleep event's from modem for indicate sleep CONFIG_LTE_LC_MODEM_SLEEP_MODULE=y CONFIG_LTE_LC_MODEM_SLEEP_NOTIFICATIONS=y # Enable PSM request CONFIG_LTE_PSM_REQ=y # Request PSM periodic TAU (24H) and active time (16 sec) CONFIG_LTE_PSM_REQ_RPTAU="00111000" CONFIG_LTE_PSM_REQ_RAT="00001000" # Request eDRX from the network CONFIG_LTE_EDRX_REQ=y
I am using the GNSS, but after the fix it should go to sleep. Besides, it seems to be the operator is giving to me the right timers T3314 and T324 and going in PSM mode properly:
...
[00:00:00.275,878] <inf> lte_gnss_udp: GNSS external antenna
[00:00:00.275,939] <inf> lte_gnss_udp: Initializing modem library
[00:00:00.610,290] <inf> lte_gnss_udp: Connecting to LTE network
[00:00:01.794,738] <inf> lte_gnss_udp: RRC mode: Connected
[00:00:02.962,921] <inf> lte_gnss_udp: Network registration status: Connected - roaming
[00:00:02.962,982] <inf> lte_gnss_udp: PSM parameter update: Periodic TAU: 86400 s, Active time: 16 s
[00:00:02.963,043] <inf> lte_gnss_udp: Connected to LTE network
[00:00:03.101,104] <inf> lte_gnss_udp: Starting GNSS
[00:00:03.104,034] <inf> lte_gnss_udp: GNSS periodical interva 300 sec
[00:00:03.104,064] <inf> lte_gnss_udp: GNSS periodical timeout 600 sec
...
00:01:01.967,468] <inf> lte_gnss_udp: sv: 23, cn0: 292, signal: 1
[00:01:01.967,468] <inf> lte_gnss_udp: sv: 13, cn0: 291, signal: 1
[00:01:01.967,498] <inf> lte_gnss_udp: sv: 6, cn0: 252, signal: 1
[00:01:01.967,498] <inf> lte_gnss_udp: Number of current satellites: 11
[00:01:02.041,290] <inf> lte_gnss_udp: Searching...
[00:01:02.041,351] <inf> lte_gnss_udp: sv: 8, cn0: 453, signal: 1
[00:01:02.041,351] <inf> lte_gnss_udp: sv: 32, cn0: 503, signal: 1
[00:01:02.041,381] <inf> lte_gnss_udp: sv: 27, cn0: 484, signal: 1
[00:01:02.041,381] <inf> lte_gnss_udp: sv: 10, cn0: 361, signal: 1
[00:01:02.041,412] <inf> lte_gnss_udp: sv: 9, cn0: 263, signal: 1
[00:01:02.041,412] <inf> lte_gnss_udp: sv: 16, cn0: 269, signal: 1
[00:01:02.041,442] <inf> lte_gnss_udp: sv: 3, cn0: 272, signal: 1
[00:01:02.041,442] <inf> lte_gnss_udp: sv: 12, cn0: 314, signal: 1
[00:01:02.041,473] <inf> lte_gnss_udp: sv: 23, cn0: 292, signal: 1
[00:01:02.041,473] <inf> lte_gnss_udp: sv: 13, cn0: 291, signal: 1
[00:01:02.041,503] <inf> lte_gnss_udp: sv: 6, cn0: 252, signal: 1
[00:01:02.041,503] <inf> lte_gnss_udp: Number of current satellites: 11
[00:01:02.041,503] <inf> lte_gnss_udp: Latitude: 43.475474
[00:01:02.041,534] <inf> lte_gnss_udp: Longitude: -3.789995
[00:01:02.041,534] <inf> lte_gnss_udp: Altitude: 94.4 m
[00:01:02.041,564] <inf> lte_gnss_udp: Time (UTC): 20:05:18.095
[00:01:02.042,388] <inf> lte_gnss_udp: Time to first fix: 58 s
[00:01:02.042,755] <inf> lte_gnss_udp: GNSS enter sleep after fix
[00:01:02.043,273] <inf> lte_gnss_udp: Modem Enter PSM, time 86351546
This is my power profile, and it seems to be that the PSM is to reach correctly, but the power consumption is not right. I am using the Power Profile Kit II, and I have connected the USB debugger:
As you can see the average is around 588 uA when it should be about 4-5 uA.
Does anyone any suggestion??
Best regards,
Óscar.