Hi... I have a similar application too.. I want to use ARMmite for send
pulse/direction signals for motion control... For a perfect S-curve timing I may
need equivalent of 4 or 8mhz time division.. But lets think of a square wave
outputted by simplest BASIC (write to port) code, what is the max. speed I can
reach at I/O ports? 500Khz? 1Mhz? 5Mhz?
Another question; how much data can I transfer to ARMmite through USB port?
1,5 Mbyte? 1 ? 500KByte? 250?
----- Original Message -----
From: tomtyrell
To: ARMexpress@yahoogroups.com
Sent: Thursday, June 05, 2008 3:47 PM
Subject: [ARMexpress] Microsecond timing
Hi I have some wireless ARMmites and need to do some very accurate
timing of ultrasound pulses. I read that it possible to time down to
the microsecond but am unclear how to do this and what the actual
timing accuracy will be. Any help appreciated!
Microsecond timing
-
YahooArchive
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: Microsecond timing
There is a keyword TIMER that is a free-running 1usec tick timer.
It can be used to measure to a microsecond. It is as accurate as the
resonator, which is 1% over time, temperature and voltage. Typically
much better than that.
BASIC can toggle IOs faster than 500 KHz.
HWPWM can be used for faster rates, if the registers are programmed
directly.
It can be used to measure to a microsecond. It is as accurate as the
resonator, which is 1% over time, temperature and voltage. Typically
much better than that.
BASIC can toggle IOs faster than 500 KHz.
HWPWM can be used for faster rates, if the registers are programmed
directly.