<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">No. Any ideas on how to check it accurately? Is it possible to check against an osciloscope measure?<br></div></div><div class="gmail_extra">

<br clear="all"><div><font style="font-family:arial,helvetica,sans-serif"><b style="color:rgb(0,0,153)">Fernando G. Nicodemos</b></font><br style="font-family:arial,helvetica,sans-serif"><font style="font-family:arial,helvetica,sans-serif" size="1"><i style="color:rgb(51,51,51)">Diretor de Pesquisa e Desenvolvimento<br>

<br></i><b><span style="color:rgb(0,0,153)"></span></b></font><font style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,153)">®</span></font><b style="color:rgb(0,0,153);font-family:arial,helvetica,sans-serif"><font>NCB - Sistemas </font></b><b style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,153)"><font>Embarcados Ltda.</font></span></b><font style="font-family:arial,helvetica,sans-serif" size="1"><font><font size="1"><span style="color:rgb(0,0,153)"></span></font></font></font><font style="font-family:arial,helvetica,sans-serif" size="1"><font><font size="1"><span style="color:rgb(0,0,153)"><br>

</span></font></font></font><b style="color:rgb(0,0,153);font-family:arial,helvetica,sans-serif"><font size="1"><span lang="PT-BR">23</span><span>°</span><span lang="PT-BR"> 09’ 24.87”S</span></font></b><b style="font-family:arial,helvetica,sans-serif"><font size="1"><span lang="PT-BR"><span style="color:rgb(0,0,153)">     45</span></span><span style="color:rgb(0,0,153)" lang="PT-BR">° 47’ 26.49”W</span></font></b>


<font style="font-family:arial,helvetica,sans-serif" size="1"><font><font size="1"><span style="color:rgb(0,0,153)"></span></font></font></font><font style="font-family:arial,helvetica,sans-serif" size="1"><font><font size="1"><span style="color:rgb(0,0,153)"><br>

São José dos Campos - SP - Brasil</span></font></font></font><span style="font-size:7pt;color:rgb(0,0,153);font-family:arial,helvetica,sans-serif"></span><br><font style="font-family:arial,helvetica,sans-serif" size="1"><font><font size="1"><span style="color:rgb(0,0,153)">t.:+55 (12) </span><b style="color:rgb(0,0,153)">3905.2243</b></font></font></font><font style="font-family:arial,helvetica,sans-serif" size="1">                </font><font style="font-family:arial,helvetica,sans-serif" size="1"><b style="color:rgb(0,0,153)"><br>

<a href="http://www.ncb.ind.br" target="_blank">www.ncb.ind.br</a></b></font><span style="font-size:7pt;color:rgb(153,153,153);font-family:arial,helvetica,sans-serif"></span><font size="1"><span style="font-family:arial,helvetica,sans-serif"><br>

  </span></font><span style="font-size:7pt;color:rgb(153,153,153)"><br><b style="font-family:tahoma,sans-serif">AVISO:</b><span style="font-family:tahoma,sans-serif"> Esta mensagem pode conter informações privilegiadas e seu conteúdo é confidencial. É endereçada somente para destinatários conhecidos. Se você não for um destinatário conhecido, não está autorizado a distribuir, divulgar, imprimir, copiar e se utilizar desta mensagem e seu conteúdo.</span></span><br>

</div>
<br><br><div class="gmail_quote">2013/7/8 Chris Johns <span dir="ltr"><<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5">Fernando Nicodemos wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dears,<br>
<br>
I configured 4 equal Tasks in RTEMS and the table as follows:<br>
<br>
rtems_task_create(<br>
Task_name[ 0 ],<br>
2,<br>
RTEMS_MINIMUM_STACK_SIZE * 2,<br>
RTEMS_PREEMPT | RTEMS_TIMESLICE | RTEMS_ASR | RTEMS_INTERRUPT_LEVEL(0),<br>
RTEMS_GLOBAL,<br>
&Task_id[ 0 ]<br>
);<br>
<br>
They will operate in round-robin.<br>
<br>
#define CONFIGURE_MICROSECONDS_PER_<u></u>TICK 10000<br>
#define CONFIGURE_TICKS_PER_TIME_SLICE 50<br>
<br>
The result should show a timeslice of 500 milisseconds, but what i see<br>
in osciloscope is more then 500ms, exactly 834ms. This code is running<br>
in a ERC32 development kit from Atmel.<br>
<br>
Any ideas what is missing for this extra time?<br>
<br>
</blockquote>
<br></div></div>
Did you check the timer is operating at the correct frequency ?<span class="HOEnZb"><font color="#888888"><br>
<br>
Chris<br>
</font></span></blockquote></div><br></div>