Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

SPI waveforms using niHSDIO as slave to DUT

Hi,

 

Is it possible to configure the pxi-6556 as a slave device and acquire SPI waveforms of data transfers coming from a Microcontroller configured as the master? The idea is to be able to characterize the SPI AC timing capabilities on the DUT (Microcontroller). I've researched examples and information in which the niHSDIO card is the master but what I really want is for the niHSDIO to emulate a slave device, and to be able to observe the SPI waveforms.

 

Thanks in advanced,

Scott 

0 Kudos
Message 1 of 4
(3,695 Views)

Scott,

 

Please look over what on of product managers about being able to implement this on one of our other HSDIOs in the link below.

 

http://forums.ni.com/t5/Digital-I-O/Implementing-an-I2C-slave-on-the-HSDIO-PXI-6551/td-p/1000282

 

Ryan 

Applications Engineer

Ryan
Group Manager
FlexLogger
NI R&D
0 Kudos
Message 2 of 4
(3,667 Views)

Hi Ryan,

 

I read through it and it seems like a solution was never found for that particular question (except for suggesting to use an FPGA). But I would guess that implementing a SPI slave with the hsdio pxi-6554, as in my case, would be easier compared to an I2C slave considering SPI does not have a acknowledgement mechanism. Do you agree?

 

Hopefully someone has had some experience with this and can shed some light. It's possible that examples similar to this already exist but I can't seem to find them.

 

Thanks again,

Scott

0 Kudos
Message 3 of 4
(3,655 Views)

Hi Scott, 

 

Can you tell me how you have your application set up?  Are you using LabVIEW for this application?  Have you looked over this knowledgebase? 

 

http://digital.ni.com/public.nsf/allkb/100DFE0FBDAE4F9986257323006A4180

 

Thanks,

Jonathan R.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,619 Views)