Hi, guys.
I just started working with operating systems. And MQX is my first one.
Recently I learned to do some simple things with the help of examples and application notes. It's an exciting process 
And I have one question. What is the best way to organaize regular execution of task every 1 ms (its execution time is about 150us)? I tried to do that in such way:
if (_timer_create_component(7, 1500) != MQX_OK) printf (" Timer initializing error\n");else printf(" Timer initialize\n");_time_init_ticks(&ticks, 0);_time_add_msec_to_ticks(&ticks, 1);//_time_add_sec_to_ticks(icks, 1);SPI_timer = _timer_start_periodic_at_ticks(led_driver_task, 0, TIMER_ELAPSED_TIME_MODE, &ticks, &ticks);It's work fine only when i use the seconds/(hundreds of ms) as a period. 
And in such way:
task(){ while(1){ my_function(&trans_matrix[0][0][0]); _time_delay(1); }}How would you have done this in my place?
Regards, Rasul
P.S. How is my English?
Is it too many mistakes here?