DA14585 sample code to wake up via timer mcu after WFI sleep mode

I am using a DA14585 for the project but without the BLE part. So I use it as a normal microcontroller.

I am working on a low energy application, so I need the microcontroller to go into sleep mode and wake up every 5 minutes.

Can anyone help me with a sample code to configure a wake up timer after 5 minutes?

Thank you so much Slight smile