08-14-2008 03:00 PM
It's going on two years now... Any I2C or SPI examples yet?
kphite
08-14-2008 03:43 PM
08-15-2008 02:40 PM
Hi Kphite,
We don't have any official SPI or I2C examples with the 6552 as of yet. Perhaps Haket and provide his code and that might be a great way for you to get started. We do have some I2C and SPI examples for LabVIEW FPGA to be used with our R-series FPGA cards. This can be found here. With all the different flavours of SPI and I2C and the capabilities of our HSDIO line, it would be very difficult to have example code that would help everyone. If you have any specific device or driver related questions though, I'd be happy to help answer them.
Regards,
Paul C.
08-18-2008 08:14 AM
08-19-2008 10:51 AM
Hi kphite,
If you would like, you can post your code and SPI specifications (a timing diagram would help) and I might be able to make suggestions for improvement. Because there are so many different types of SPI implementation, it would be very difficult for us to post an example that would work for everyone.
Regards,
Paul C.
11-05-2008 02:06 AM
I sitting and trying to develop my own SPI interface with PXI-6552. But im alittle bit stuck at the moment. I would love to have a peak of your code if its possible?
My mail is: m_king42@hotmail.com
Thanks...
11-05-2008 02:11 AM
Hi Paul,
Do you have any example code for SPI communication? Im sitting to try to develop my own SPI interface with PXI-6552 but im alittle bit stuck at the moment.
11-12-2008 05:01 PM
Hi Maximus,
Sorry about the delayed response. I do not have any example code currently. I do believe several of our customers have implemented SPI validation and verification code with out 6552 card. Hopefully, we will see some customer posted solutions. If you have specific questions regarding the coding, please let me know and I will do my best to help you out.
Regards,
Paul C.
11-14-2008 03:43 PM - edited 11-14-2008 03:51 PM
FYI, NI Systems Engineering recently published a library for building I2C commands with a 6552. You can find it here: I2C Digital Waveform Reference Library
There is a dedicated discussion thread for the IDW library here: http://forums.ni.com/ni/board/message?board.id=Components&thread.id=68
11-14-2008 08:45 PM