i have a customized PCB for DA14583. I am using example ble_app_peripheral. When i try to use timer0 to count specified seconds as in example timer0_general, the processor counts two seconds then hang. But when i use the timer0_general example stand alone, it counts with no problem.
i have added the same function as in timer0_general to the ble_app_peripheral and i can't use timer0 for counting.
Any advice please.
Device:
Hi Eslam,
I recommend using a software timer for this purpose, for an example of how to do this see the following:
http://lpccs-docs.dialog-semiconductor.com/Tutorial_SDK6/timer.html
Best regards
IM_Dialog
I tried your suggested solution but also it didn't work. I don't know why i can't use the timers or your suggested with ble examples even that i can use them stand alone without ble.
please i need your advice for solution for counting time with a timer or any method and the reason for that problem
Hi Eslam,
Are you using any of the sleep modes in your project? If yes, all the peripheral domains are powered down. You mentioned that it doesn’t work, can you please run it in debug mode and indicate what is happening? Does the code get stuck anywhere?
Thanks, PM_Dialog