03-31-2016 10:44 AM
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
04-01-2016 11:17 AM
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
04-01-2016 02:56 PM
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
04-04-2016 01:14 PM
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,