-
3
pages
-
English
-
Documents
Description
Reading An SPI Interface with CompactRIO - Tutorial - Developer Zone... file:///C:/Documents%20and%20Settings/ssharad/Desktop/spi_interface/...Site Help | Search NI Developer Zone Reading An SPI Interface with CompactRIOBack to DocumentThe SPI (Serial Peripheral Interface) bus is a fairly common, low cost serial data bus that can be easily implemented with a few integratedcircuits. It can be found in many micro-processor based electronic devices, where it may be used to communicate between the processorand A/D (Analog-to-Digital) or D/A (Digital-to-Analog) converters or other devices. In this example, a commercial device is used to decodethe current positions of 16 digital switches which had been transmitted over a remote control radio system. The signals are transferred toCompactRIO using SPI bus communication and are intercepted and decoded using CompactRIO hardware and LabVIEW software. Byusing SPI communication, this solution used only three digital input bits, and could easily be expanded to handle 32 or more switcheswhile still only using the three digital input lines.Table of Contents:About the AuthorSwitching Multiplexing/DemultiplexingLabVIEW FPGA code for the SPI BusConclusionsCompactRIO Example Code About the AuthorDavid Thomson works at the NOAA Aeronomy Lab, where he develops atmospheric chemistry instrumentation for use on high-altituderesearch aircraft. He is also the principal of Original Code consulting, an NI Alliance Member which ...
-
Publié par
-
Langue
English