Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Can PCI-6534 generate 4 different synchronized clocks?

I want to generate (output) 4 different clocks using the NI-PCI-6534.

Clk1 (1.5uS)

Clk2 (400uS) Clk2 starts 80-100nS after first falling edge of clk1.

Clk3 (800uS) Clk3 starts 100-150nS after first falling edge of clk1.

Clk4 (400mS) Clk4 starts 200-250nS after first falling edge of clk1.

What is the finite bit resolution of NI-PCI-6534?

Along with generating the 4 clocks, I need to generate a 16-bit and 6 bit data bus, and a data out strobe signal.

Thank you.
0 Kudos
Message 1 of 3
(3,187 Views)
Hi Jringley,

Your PCI-6534 is not the best board to use for high precision clock generation. However, it is possible to do what you are looking for with the 6534.

The 6534 has a 20 MHz clock. This means that the smallest clock cycle you can have is 50ns. So, you can do pattern generation at 20 MHz. The following patter will give you 4 pulses of different length with an offset in when the pulse starts. Pulse 2 starts 100ns after pulse 1, pulse 3 starts 150ns after pulse 1 and pulse 4 starts 250 ns after pulse 1. Then you just need to figure out how many timebase (20 MHz) pulses you need for each of them to be high and fill the trailing zeros. You can set this up to be a continous pattern generation and repeat the cycle.

Line

1 2 3 4
-------
1 0 0 0
1 0 0 0
1 1 0 0
1 1 1 0
1 1 1 0
1 1 1 1
1 1 1 1
. . . .
0 1 1 1
0 1 1 1
0 0 1 1
0 0 1 1
0 0 0 1
0 0 0 1
0 0 0 0

Now, this isn't the best way to do things. The best way to do it would be to set up 4 counter outputs (pulse generation) with a 6602 board. That would give you better precision and easier programming. However, the above method should work with a 6534. If you want a strobe signal and data lines to be synched up with your clock pulses, you can simply make it have more lines. You can set the bits to have the lines high or low wherever you want.

-Sal
0 Kudos
Message 2 of 3
(3,181 Views)
Sal,

Thank you for your time and information.

Jringley
0 Kudos
Message 3 of 3
(3,167 Views)