Skip to content

Input impedance control of the clock terminal PFI4 on NI 6535 #96

Open
@zhang-wenjun

Description

@zhang-wenjun

Hi, I'm using PrawnBlaster to generate pseudoclock for my NI 6535 board. The clock terminal is set to PFI4 by

NI_PCIe_6535(
            name='ni_6535', parent_device=master_clock.clocklines[0],
            MAX_name='PCIe-6535-Dev1',
            clock_terminal='/PCIe-6535-Dev1/PFI4', # use PFI4 to receive clock from the master clock
            clock_mirror_terminal='/PCIe-6535-Dev1/PFI5', # use PFI5 to mirror clock from the master clock
            stop_order = -1) # 1st device in daisy chain, ensure it transitions to manual mode first

The NI_PCIe_6535 class is generated by labscript_devices/NI_DAQmx/models/generate_subclasses.py. The program compiled without any error. But I find that the high level voltage received by PFI4 is only ~1.3V when running digital output tasks, which means the input impedance of PFI4 port is only ~50Ohm, instead of 50kOhm, given the output driving ability of rp2040 GPIO.

When I use LabVIEW to do digital output, the input impedance is correct (a high value, I did not measure the exact number) and the high level is indeed 3.3V, so I think the NI board is fine.

I see the underlying worker uses DAQmxCfgSampClkTiming to configure this function. So I'm wondering if there are any other steps (like config. in NI-MAX, or config. in generate_subclasses.py, etc.) to correctly configure the input impedance.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions