[En-Nut-Discussion] NutGetMillis is a _very expensive_ function on Ethernut3

Vesa Jääskeläinen chaac at nic.fi
Sat Aug 16 18:34:17 CEST 2008

Ole Reinhardt wrote:
> Hello,
> I found that even several functions of NutOS itselt request the current
> CPU clock always from the clock generator over I2C. For example every
> ARP requests does so.
> At least it should be possible to store the last system clock value
> written to the cy22393 so that we don't need to request it every time
> again. It should not change by itself, right?

Can't you use one of the system timers and then calibrate it's results
with cy22393 and get fast accurate enough time stamps? I didn't spot any
time stamp counter on that ARM chip. I have seen those on other ARMs thou.

More information about the En-Nut-Discussion mailing list