Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

DAVE™ Forum Discussions

User5327
Level 4
Level 4
Hi there,
I found that maximum timer which can be created depends on set microsecund.
But there is limit 16us - in this case I can create only one timer,
lower than 16us is not possible...

Is there some posibility set lower than 16us?
0 Likes
4 Replies
Not applicable
Hi Koumak,

Why don't you try to change the value in SYSTM002.h by yourself?

/* Time between between two systick interrupt in Msec */
#define SYSTM002_SYSTICK_INTERVAL 16U

Best regards,
Zain
0 Likes
User5327
Level 4
Level 4
Thanks Zain,

Yes, you are right, but there is some GUI for this app and there is written that limit for ticks is 1 - 1000.
But value lower than 16 is not possible to use => something is wrong...
(and I need to use SYSTM002 with 1us)

Best regards,
Koumak
0 Likes
Not applicable
Hi Koumak,

I was wondering what is your application? Why do you need so frequent systick interrupt? 1us systick interrupt interval means every 120 clock cycles there will be an interrupt. Plus the interrupt latency. There is not much time left for you processing!...

Best regards,
Zain
0 Likes
User5327
Level 4
Level 4
Hi Zain,

It is only experiment, but OK, so in my program I can use 10us (as sw timeout). But 10us in this app also is not possible to use. But this is not important.
My interest was that in app was written 1-1000us -> but it isnt true ... according to your answer.

Best regards,
Koumak
0 Likes