Forum Discussion

PrakashPrasad's avatar
PrakashPrasad
Icon for New Contributor rankNew Contributor
1 year ago
Solved

How to make thread sleep exactly N seconds in NIOS II Altura with eCos RTOS

I was going thru this PDF - https://www.gaisler.com/doc/ecos-ref-a4.pdf It states at page 48 / 596 - Clocks - " The information needed to perform these conversions is the clock resolution. This i...
  • tehjingy_Altera's avatar
    1 year ago

    Hi


    From the code it seems correct.

    Going through the the eCOS document, the clock resolution is the same as frequency.

    https://doc.ecoscentric.com/ref/kernel-clocks.html


    The NiosII frequency could be found in the hardware design in the platform designer. You could see what is the clock frequency that is connected to the clock input signal of the NiosII.