Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital I/O functionality of the PCI-6602 RLP

Hi,
I know this is a very old post. I am doing register level programming on a 6602 board. I don't use those PFI lines but am curious how to program them.
These registers mentioned in one reply, 0x500, 0x504, where are they? I cannot find them in this document:
http://digital.ni.com/manuals.nsf/websearch/4CE1C778F442B01386256C870060F9F3


@JoeFriedchicken wrote:
.....
For static output on the correlated digital lines, you'll need to program three registers.
  1. TO_StrobeReg at offset 0x500
  2. TO_ConfigReg at offset 0x504
  3. TO_InitValReg at offset 0x510

 

TO_StrobeReg at offset 0x500

TO_StrobeReg is 32 bits wide, and has these fields:
30: TO_SWEnable
29: TO_SWDisable

Writing 0b1 to TO_SWEnable will enable output generation, and writing 0b1 to TO_SWDisable will stop output generation.

TO_ConfigReg at offset 0x504
TO_ConfigReg is 32 bits wide, and has these fields:
13..12: TO_StopMode
2..0: TO_Format

Set TO_StopMode to 0b00 to tell the TIO to stop generation on the state of TO_SWDisable.

Set TO_Format to 0b010 to tell the TIO to use immediate updates on the output pins.

TO_InitValReg at offset 0x510
TO_InitValReg is 32 bits wide, and has only one field:
31..0: TO_InitVal

This field holds the data that you want to output. Since you're using the STC DIO lines, the first 8 lines of this field are ignored, and so PFI 8 is the first usable line.

....

Message Edited by JoeFriedchicken on 11-19-2009 11:54 AM

 

0 Kudos
Message 11 of 14
(4,047 Views)

Hello Jasmine,

 

Those registers were fully described and outlined in Joe's post because they are not in the manual. Do you have questions about these registers?

 

Thanks,

Steven T.

0 Kudos
Message 12 of 14
(4,025 Views)

Hi, Steven,

 

I see. No, we don't use these registers now. I am just curious.

 

Thanks.

 

 

0 Kudos
Message 13 of 14
(4,015 Views)

Hello

Thanks for checking.

I assume this issue was closed a year ago.

Custome ris working OK so far and actually is waiting for the new PCIe/PXIe form new Counter/Timer boards.

Yechiel

0 Kudos
Message 14 of 14
(4,010 Views)