Unable to wake up after JN5168 sleep

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to wake up after JN5168 sleep

1,267 Views
jiweigao
Contributor III

End Device unable to wake up after sleep in JN-AN-1229-ZBPro-Application-Template-v1002 demo, serial output is as follows:

Coordinator:

APP: Deleting all records from flash
APP: Application startup
APP: No event to process
APP: Network Started
APP: Channel - 11
APP: No event to process
APP: vCheckStackEvent: vCheckStackEvent: ZPS_EVENT_NEW_NODE_HAS_JOINED, Nwk Addr=0x5618
APP: No event to process
APP: vCheckStackEvent: ZPS_EVENT_AF_DATA_INDICATION
        Profile :smileylaugh:
        Cluster :13
        EndPoint:0
APP: No event to process
APP: vCheckStackEvent: ZPS_EVENT_ROUTE_DISCOVERY_CFM

End Device:

APP: Starting ZPS
APP: No event to process!
APP: Network discovery complete
APP: Found 1 networks
APP: Unscanned channels 00000000
 APP: Ext PAN ID = 00158d000065ae7a
 APP: Channel = 11
 APP: Stack Profile = 2
 APP: Zigbee Version = 2
 APP: Permit Joining = 1
 APP: Router Capacity = 1
 APP: End Device Capacity = 1
APP: Trying Joining network
APP: Joining network
APP: No event to process!
APP: Node joined network with Addr 0x5618
APP: No event to process!
APP: vCheckStackEvent: ZPS_EVENT_NEW_POLL_COMPLETE, status = 0
APP: No event to process!
APP: vCheckStackEvent: ZPS_EVENT_NEW_POLL_COMPLETE, status = 0
APP: Going to sleep (CB)

JN-AN-1229-ZBPro-Application-Template-v1002 demo sleep time is 5s, but waited a long time without "APP: Woken up (CB)" output, I don't know the reason?

0 Kudos
7 Replies

822 Views
jiweigao
Contributor III
I tried to run on 5168, after the first sleep still did not wake up, but also found that the UART interrupt callback function is always inaccessible, is not hardware where there is a problem, or improper configuration?
0 Kudos

822 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi JiWei,

I am confused with the original question. Are you getting this message?

Thiis is different like your original post. Could you please try to download the AN again? 

I am using the JN5168 too.

Do you have an sniffer log? 

pastedImage_2.png

Best Regards,

Mario

0 Kudos

822 Views
jiweigao
Contributor III

2.png

0 Kudos

822 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi JiWei

Is it the complete sniffer log? are you completely sure that the end device is joining the network?

I have not seen the transport key and the end device is not sending the timeout request.

Could you please program the JN again? and try to select a different channel.

Please let me know your findings.

Regards,

Mario

0 Kudos

822 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi JiWei Gao,

I tried to replicate the issue that you have, I have downloaded the AN from the NXP web site, I run a coordinator example (JN5179 USB Dongle) and the sleep device (OM15028 JN5179).

I captured some packets with an sniffer and as you can see, the image below shows the coordinator broadcast and the 3 data request by the sleep end device. It wakes up every 5 seconds.

pastedImage_1.png

Also, using a terminal, you can compare the message that the end device is sending.

pastedImage_2.png

What is the process that you are following ? Did you modify the Application note?

Best Regards,

Mario 

0 Kudos

822 Views
jiweigao
Contributor III

APP: Power Up
APP: Deleting all records from flash
APP: Starting ZPS
APP: Network discovery complete
APP: Found 1 networks
APP: Unscanned channels 00000000
 APP: Ext PAN ID = 00158d000065ae73
 APP: Channel = 11
 APP: Stack Profile = 2
 APP: Zigbee Version = 2
 APP: Permit Joining = 1
 APP: Router Capacity = 1
 APP: End Device Capacity = 1
APP: Trying Joining network
APP: Joining network
APP: Node joined network with Addr 0x4434
vWaitForNetworkDiscovery: wake timer started successfully
APP: vCheckStackEvent: ZPS_EVENT_NEW_POLL_COMPLETE, status = 0
vWaitForNetworkDiscovery: wake timer already running for another wake point
APP: vCheckStackEvent: ZPS_EVENT_NEW_POLL_COMPLETE, status = 0
vWaitForNetworkDiscovery: wake timer already running for another wake point
APP: Going to sleep (CB)

0 Kudos

822 Views
jiweigao
Contributor III
With the original routines, no modifications.
I again try to run on the JN5168 jn-an-1229-zbpro-application-template, Enddevice Sleep can not wake up, but also found that the UART interrupt can not enter, do not know if the hardware where there is a problem or improper configuration?
0 Kudos