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

AT%XMODEMTRACE=0 not working correctly

Hello,

i noticed that even i send AT%XMODEMTRACE=0 with response "OK" the bsd lib triggers EGU0 / Trace interrupts. The modem is not started, but the bsd lib got succesfully initialized.

I would exspect this IRQ not beeing fired in this case after using the AT command to turn them off.

See attached a uart log of this situation in a test scenario just going to sleep (WFI) and wakeup with a 5 second interval. The "problem" is in this case that the bsd trace IRQ wakes up the CPU rahter than the RTC compare interrupt as exspected.

Thank you for an explanation.

BR

Theo

----------------------------------------------
Started app-skeleton-nrf9160 v1.0.0 TZ2
max syscalls prio: 0x40, Flash size: 0x100000
Compiled: Oct 29 2019 16:01:26
----------------------------------------------
TRACE<efbe370061/>
TRACE<0d0a3700cc0000000000555549442025730039623765613866312d323531332d346439362d393764332d36336130643439336231636500/>
TRACE<efbe3e0063/>
TRACE<b007b007b007b007b007b007b007b0070404180002000000010000006000000000800000ffffffff00000000000000000d0a0e00cd000000935a01004000/>
BSD_IRQ_TRACE
BSD_IRQ_TRACE
BSD_IRQ_TRACE
BSD_IRQ_TRACE
BSD_IRQ_TRACE
BSD_IRQ_APP
BSD_IRQ_APP
BSD_IRQ_APP
BSD_IRQ_APP
BSD_IRQ_APP
BSD_IRQ_APP
BSD_IRQ_APP
BSD_IRQ_APP
BSD_IRQ_APP
BSD_IRQ_APP
bsd_init done
BSD_IRQ_APP
LTE| sending command 'AT%XMODEMTRACE=0'
BSD_IRQ_APP
BSD_IRQ_APP
Response:
OK
Going to Sleep: 2000-01-01T00:00:01 (0x386d4381)
until: 2000-01-01T00:00:06 (0x386d4386)
Going to Sleep...DONE!
Wake Up Notifiy
Going to Sleep: 2000-01-01T00:00:06 (0x386d4386)
until: 2000-01-01T00:00:11 (0x386d438b)
Going to Sleep...DONE!
Wake Up Notifiy
Going to Sleep: 2000-01-01T00:00:11 (0x386d438b)
until: 2000-01-01T00:00:16 (0x386d4390)
Going to Sleep...DONE!
Wake Up Notifiy
Going to Sleep: 2000-01-01T00:00:16 (0x386d4390)
until: 2000-01-01T00:00:21 (0x386d4395)
Going to Sleep...DONE!
Wake Up Notifiy
Going to Sleep: 2000-01-01T00:00:21 (0x386d4395)
until: 2000-01-01T00:00:26 (0x386d439a)
Going to Sleep...DONE!
Wake Up Notifiy
Going to Sleep: 2000-01-01T00:00:26 (0x386d439a)
until: 2000-01-01T00:00:31 (0x386d439f)
Going to Sleep...DONE!
Wake Up Notifiy
Going to Sleep: 2000-01-01T00:00:31 (0x386d439f)
until: 2000-01-01T00:00:36 (0x386d43a4)
Going to Sleep...TRACE<efbe370061/>
TRACE<0d0a3700367f0f000000555549442025730039623765613866312d323531332d346439362d393764332d36336130643439336231636500/>
BSD_IRQ_TRACE
BSD_IRQ_TRACE
DONE!
Wake Up Notifiy
Going to Sleep: 2000-01-01T00:00:36 (0x386d43a4)
until: 2000-01-01T00:00:41 (0x386d43a9)
Going to Sleep...

Parents Reply Children
No Data
Related