ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Scheduled activity on a TS-7800

To:
Subject: Re: [ts-7000] Re: Scheduled activity on a TS-7800
From: Eddie Dawydiuk <>
Date: Fri, 20 Jun 2008 16:21:23 -0700
Hello,

> We looked at the Marvell PDF documents from the TS-7800 page, and
> compared them to the source in ts7800ctl.c.  We obviously are missing at
> least one key component to understanding because we weren't able to find
> anything in the sample source that seemed to match the documentation,
> except the string "TWSI" that appears in a few places.  But, even it the
> source is accessing the Marvell, and we could figure out how to use set
> the timers to generate an interrupt that we could catch, it looks like
> the example functions for start/stop/read/write are WAY to 'sloppy' (in
> time) for use in setting a sub-millisecond timer, since they ignorantly
> use usleep(1) and usleep(100) all over the place when we all know that
> those may take as long as usleep(10000) (and any after the first almost
> certainly will take that long).

The ts7800ctl code only touches the TWSI(aka I2C) registers in the 
Marvell. Timing is not critical for the code that uses the usleeps as 
the ADC samples are buffered in RAM(in the FPGA). I've recently reworked 
the ADC code and written more verbose documentation on the ADCs. If your 
interested you can find my work in progress here 
ftp://ftp.embeddedarm.com/tmp/7800_adc_update/. I'm not sure this 
updated code will help you access the timers in the Marvell chip, but I 
believe the document will help you to understand what the ts7800ctl code 
does with regard to interfacing with the Marvell chip(e.g. it only uses 
the TWSI bus to send and receive commands to a microcontroller).

-- 
Best Regards,
________________________________________________________________
  Eddie Dawydiuk, Technologic Systems | voice:  (480) 837-5200
  16610 East Laser Drive Suite 10     | fax:    (480) 837-5300
  Fountain Hills, AZ 85268            | web: www.embeddedARM.com

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<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