STM32F407 RTOS-OS_TICK

Başlatan Yuunus, 26 Ağustos 2012, 00:00:12

Yuunus

Merhaba, RTX_Conf_CM.c dosyasinda aşağıdaki satırlarda OS_TICK'i 1us'e ayarlayamıyorum.

// </h>
// <h>SysTick Timer Configuration
// =============================
//   <o>Timer clock value [Hz] <1-1000000000>
//    Set the timer clock value for selected timer.
//    Default: 6000000  (6MHz)
#ifndef OS_CLOCK
#define OS_CLOCK       168000000
#endif

//   <o>Timer tick value [us] <1-1000000>
//    Set the timer tick value for selected timer.
//    Default: 10000  (10ms)
#ifndef OS_TICK
#define OS_TICK        10000
#endif

halbuki açıklamada 1us'i kullanabileceğimi söylüyor. 2us yaptığımda led yak söndür uygulamam çalışırken 1us yaptığımda kilitlenip kalıyor.
Birde buradaki us yada ms gerçek zamanlımı yoksa 1us 1.2us olabiliyor mu; yani zaman zaman sarkmalar oluyor mu? Teşekkür ederim
.