From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-8452 skew between CS lines

I am using an NI USB-8452 to control a device using a 5 wire SPI using the SPI scripting capability. 

 

I want to be able to generate a trigger signal on one of the other chip select lines (CS) that occurs at the same time as the rising edge of my CS signal. However, there seems to be a huge amount of skew between CS0 and CS7.  For example, part of the SPI script executes:

 

fRet += self._lspi.ni845xSpiScriptCSHigh(self._cHdlScr, c.c_uint32(iCSB))
fRet += self._lspi.ni845xSpiScriptCSHigh(self._cHdlScr, c.c_uint32(iTRG))

 

where iCSB=0 and iTRG=7 (i.e. I want CS0 and CS7 to go high at the same time).

 

Is there a means to do this with the NI-8452?

 

Thanks

 

 

0 Kudos
Message 1 of 2
(3,209 Views)

Hi AndyTPE, 

 

Have you seen this forum post? It appears that this kind of delay is expected for the USB-8452, but there might be some tips and tricks that JBender1 used that you could implement as well. 

Thanks,

Rita Prather
Software Product Manager
rita.prather@ni.com
National Instruments
0 Kudos
Message 2 of 2
(3,189 Views)