RE: GPIO software design question

Mujid Abdul-CAM028 <Abdul.Mujid-3WKxDLwmzFNWk0Htik3J/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Hi,
  I'm about to try SPI using CPLD(doing some reading). 
Can you provide the link to the example, so that I can jump-start? 
What is the CPLD utilization in your implementation?
Thanks

-----Original Message-----
From: tini-admin-6tN4nzCoH/[email protected] [mailto:[email protected]] On Behalf Of Venelin Efremov
Sent: Tuesday, February 10, 2004 1:33 PM
To: Bryan Armstrong
Cc: swong-5bdsyQ5pCqFWk0Htik3J/[email protected]; [email protected]
Subject: Re: [TINI]GPIO software design question


Thanks Bryan,

I managed to cook a SPI like interface out of the xilinx SPI example and using the ALE as clock source I'm getting close to 4Mbit/s. Much less CPU power too - only a single memory write.

And some people were complaining about Dallas support :-). Thanks again.

~Venelin

----- Original Message ----- 
From: "Bryan Armstrong" <bryan.armstrong-6tN4nzCoH/[email protected]>
To: "Venelin Efremov" <[email protected]>
Cc: <swong-5bdsyQ5pCqFWk0Htik3J/[email protected]>; <[email protected]>
Sent: Thursday, January 08, 2004 6:54 AM
Subject: Re: [TINI]GPIO software design question


> Venelin Efremov wrote:
> > On board CPLD won't help you much, since it has no clock input., so 
> > you
can
> > not load 8 bits and expect it to send them automatically. Writing in 
> > ASM is the key, I managed to get around 1MBps using double
clock
> > speed.
> >
> > ~Venelin
>
> It is possible to use ALE which comes in on IO22 from the TINIs400 
> schematic for the CPLD clock.  The ALE signal is 1/4, 1/2, or 1/1 of 
> the CPU crystal frequency depending on if you single, double, or 
> quadruple it internally on the DS80C400.
>
>
> --
> --
> Bryan Armstrong
> bryan.armstrong-6tN4nzCoH/[email protected]
>
>

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.