2 posts / 0 new
Last post
Bassam.sharkawy
Offline
Last seen:5 years 10 months ago
加入:2014-10-14 10:37
Timer is not accurate

Hello Dialog Team,

I am using the peripherals example and i am trying to create a timer that when fires toggles a GPIO, i am sniffing the GPIO with PICOSCOPE. I loaded "TIMER0_ON_REG" with a specific period, 1 sec for example, and when it fires and the GPIO toggles i observed that the period between starting and firing the timer is not equal the period i set previously in the register. Is there anything wrong i am doing or did i forget anything to do ?

Thanks in advance,
Bassam

PY_Dialog
Offline
Last seen:2 years 8 months ago
Staff
加入:2014-08-25 09:59
Hi Bassam,

Hi Bassam,

Too limited information to understand your issue. please can you please let me know which SDK and show your code to us. And how big the error is?

Regards!
PY