I am using a custom board.
My issue is similar in that I also use a JN5169 chip and that my code gets stuck in ZPS_eAplAfInit().
But it is different in that I use a modified JN-AN-1223 (v1008 with added CIE code from JN-AN-1201) with JN-SW-4168 (v1470)
I had it previously working in an older version of JN-SW-4168, but wanted to update the SDK for some newer functions and bug fixes.
So I thought the OP might have some advice on how to get past the code being stuck in ZPS_eAplAfInit()