ChipCenter Questlink
SEARCH CHIPCENTER
Search Type:
Search for:




Knowledge Centers
Product Reviews
Data Sheets
Guides & Experts
News
International
Ask Us
Circuit Cellar Online
App Notes
NetSeminars
Careers
Resources
FAQ
EE Times Network
Electronics Group Sites

EMBED THIS PC part 4


Circuit Cellar Online
THE MAGAZINE FOR COMPUTER APPLICATIONS
Circuit Cellar Online offers articles illustrating creative solutions
and unique applications through complete projects, practical
tutorials, and useful design techniques.

EMBED THIS PC

Lessons from the TrenchesPART 4: Designing Peripherals In
by George Martin

Start ý The Hardware Interface ý The Artwork ý Sources and PDF

THE HARDWARE INTERFACE

The hardware interface requires the CPU data bus to connect to the D/A data bus. The D/A converter has chip select (CS\) and write (WR\) inputs, which are typically active low. However, donýt make any assumption about the timing of the D/A converter. It needs to be looked at in detail. Devices with no setup and hold-time requirements can interface using a PAL without much worry. Devices with timing requirements on CS\ and WR\ need more care and a register type of design. You will find requirements such as CS\ must be low, 15 ns after WR\ goes high.

This is the stuff that gives you gray hairýor makes you lose your hair. If the timing requirements of your devices differ too much from what the CPU is generating, youýll need to make the PAL a clocked device. If you add a high-speed clock, you can capture and hold the values of the offending pins.

Want MORE...unique applications, complete projects, practical tutorials, and useful design techniques?

Subscribe to Circuit Cellar magazine

 

Listing 1 outlines the logic for decoding the ý486 bus signals and connecting a dual D/A converter to the bus. The PAL decodes and controls the bus signals. Keep in mind that this is only an example and doesnýt necessarily give you the best, cheapest, or fastest way of doing things. Youýll find there are a number of ways to connect memory and peripherals in an embedded ý486 design. Just decide which way suits your application best.

PREVIOUSNEXT


Circuit Cellar provides up-to-date information for engineers. Visit www.circuitcellar.com for more information and additional articles.
For subscription information, call (860) 875-2199, subscribe@circuitcellar.com or subscribe online. ýCircuit Cellar, the Magazine for Computer Applications. Posted with permission.
Click here to get your listing up.

Copyright © 2003 ChipCenter-QuestLink
About ChipCenter-Questlink  Contact Us  Privacy Statement   Advertising Information  FAQ