ts-7000
[Top] [All Lists]

[ts-7000] Re: DIO speed?

To:
Subject: [ts-7000] Re: DIO speed?
From: "Jesse Off" <>
Date: Tue, 21 Feb 2006 01:03:39 -0000
--- In  "BxWen" <> wrote:
>
> I am trying to generate patterns from TS7250 DIO. It seems to me even 
> with assembly code the maximal rate is about 7Mhz or so. Given its 
> 200Mhz CPU this is really slow. 
> 
> Can anyone point out how many clock cycles it takes to do 
> " str r5, [r6]", 
> where r6 point to PortB?

Pretty much all ARM instructions happen in one clock tick.  Stores
actually have a write buffer, but depending on the MMU it may or may
not be enabled.

What will most likely be the bottleneck of this is the EP93xx internal
AMBA bus.  Bus cycles to the GPIO go out the processor, through the
AHB bus, across the AHB/APB bridge, to the GPIO core on the APB bus. 
The APB bus runs at 50Mhz, AHB at 100Mhz.  There is also arbitration
for the internal bus that has to go on.. SDRAM, DMA, ethernet, etc,
and there may be AMBA wait states inserted on the bus cycles that
lengthen the cycle.  Each time you branch, there is a CPU pipeline
flush since (IIRC) the ARM9 has no branch prediction which adds more
cycles.  To know exactly the limitations, you'd really have to talk to
Cirrus Logic.

//Jesse Off





 
Yahoo! Groups Links

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

<*> 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