Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

geneation of clock through PC interface or microcontroller

Status
Not open for further replies.

rampat

Member level 4
Joined
Jun 27, 2007
Messages
69
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,288
Location
bangalore
Activity points
1,756
Hi All,

I need to generate the different bit stream with constant frequency and at the sm time i need to provide different delay for each of the bit stream...

for ex I have clk ,data ,reset with bit sequence 101,001,110 with pulse width of 500ns with delay of 250ns,100ns and 200ns,

How to generate these sequences using PC parallel interface/microcontoller programming...

I need these sequence for the testing of the chip..

Please can anyone help ?

Regards
Rampat
 

Re: geneation of clock through PC interface or microcontroll

You will need to select a microcontroller that can run at, say, 20MIPS, see examples at:
http://www.atmel.com/dyn/resources/prod_documents/doc4084.pdf ..
Then one NOP (do nothing) operation gives you 50ns resolution, so the rest will be to write a simple code that sets or clears selected pin with a number of dummy instructions such as NOP in between ..

Rgds,
IanP
 

Re: geneation of clock through PC interface or microcontroll

Hi LanP


I am nt able to download that document.Can u pls upload it again..?

thanks
 

Re: geneation of clock through PC interface or microcontroll

Hi,
The document is actually on the Atmel website, it downloaded OK when I tried it just before I wrote this post, I suggest you try again. The PC parallel port will not get anywhere near that sort of speed, you will have to go the microcontroller route to have any hope of success, you can then use the PC as a master controller talking to the microcontroller.
Best regards,
Bob
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top