Error in timestamps in double buffer mode

I am using DW3000 with NRF52833. I have a problem with reading RX timestamps in double buffer mode. I’m using decawave API to communicate with the chip. I’m getting completely wrong values while reading RX timestamp like the following.

(unsigned 40 bits)
674709128635
1072876312206
674709128635
1072876312206
674709128635
1072876312206
Deep sleep and wakeup
606528619835
1071798376078
606528619835
1071798376078
606528619835
Deep sleep and wakeup
605991749051
1072872117894
605991749051
Deep sleep and wakeup
606528619835
1071798376070
606528619835

(unsigned 32 bits)
399263163
3429455502
399263163
3429455502
399263163
3429455502
Deep sleep and wakeup
938231099
2351519374
938231099
2351519374
938231099
Deep sleep and wakeup
401360315
3425261190
401360315
Deep sleep and wakeup
938231099
2351519366
938231099

What would be the reason behind these wrong values?
If anyone has a solution, please let me know.

Note:- Timestamps are perfect in single-buffered mode.

Problem fixed by calling the following functions after wakeup.

dwt_setdblrxbuffmode(DBL_BUF_STATE_EN, DBL_BUF_MODE_MAN);//Enable double buff - Manual mode
dwt_configciadiag(DW_CIA_DIAG_LOG_MIN);//Enable diagnostic mode - minimal