ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: TS-XDIO sample code.

To:
Subject: Re: [ts-7000] Re: TS-XDIO sample code.
From: "Don W. Carr" <>
Date: Sun, 16 Apr 2006 19:40:08 -0500
I wrote some code, and it appears to work, but with glitches, such that some times, the new count I read is actually less than the previous count, and, it appears to not count all pulses. I had an external source set to EXACTLY 100 Hz, and expected to get 200 Hz since the xdio counter counts both falling and rising edges, but got consistantly lower. I just got an email from a person at TS saying I should try compiling with the opttion: -mcpu=arm9

Well, I am attaching the code that I wrote, but never got a confirmation from TS if is is correct. It is to set up the xdio to count an external source.

I am not sure when I will be able to test again since we are in the middle of Easter vacation here in Mexico (2 weeks), and I do not have a signal generator here at my house. One of the electrical guys is going to put together a simple circuit for me to count at one or two frequencies for testing.

I am planning on using the free running timer so I can measure the time between counter readings more accurately, and thus be able to calculate a frequency (speed of train) as accurately as possible. Let me know if you want that code as well.

Good luck, Don.

On 4/14/06, rx7vt <> wrote:
--- In "Don W. Carr" <> wrote:
>
> Does anybody have TS-XDIO sample code? I can not find anything on the
> web, and when I wrote to Technologic Systems, I only got more
> descriptions that were not clear.
>

Any luck yet? If not, let me add my voice to the chorus. If I come up
with anything, I'll let you know.








SPONSORED LINKS
Linux os Hardware Arms
Computer internet Computer security Computer hardware security


YAHOO! GROUPS LINKS

  •  Visit your group "ts-7000" on the web.
     
  •  To unsubscribe from this group, send an email to:
     =Unsubscribe
     
  •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.





--
Dr. Don W. Carr
J. G. Montenegro 2258
Guadalajara, Mexico
+52-333-630-0704
+52-333-836-4500 ext 2930


SPONSORED LINKS
Linux os Hardware Arms
Computer internet Computer security Computer hardware security


YAHOO! GROUPS LINKS

  •  Visit your group "ts-7000" on the web.
     
  •  To unsubscribe from this group, send an email to:
     =Unsubscribe
     
  •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



Attachment: xdio.c
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU