- Educator Community |
- Access My Courses |
- Bookmarks |
by National Instruments
This lab allows students to explore communication using the Serial Peripheral Interface (SPI) bus. Students will learn about the basic theory behind SPI communication using a microcontroller (such as an Arduino Uno) as the SPI master and the Analog Discovery 2 as the SPI slave. Using LabVIEW, students will be able to visualize the slave select, clock, and MOSI lines of the SPI bus and learn how to extract the message from these lines. Advanced students can challenge themselves by modifying their code to encode and decode ASCII signals or adding a layer of encryption to protect their data from unwanted observers.
Download Lab
- If you have installed a previous version using your serial number, you can find the serial number by selecting the Help»About menu item within the application or by selecting your product within NI License Manager (Start»All Programs»National Instruments»NI License Manager or from NI Launcher in Windows 8).
- For further information on how and where to use this 20 digits activation code, you can visit the following site: Activating National Instruments Software Products. Related Links National Instruments Licensing Options.
Activation Code Generator
The licensing checks must be manually added to the source code using the provided Licensing VIs, and the licensing checks are performed during run time (when the application is run). Additional Information: The Third-Party Licensing & Activation Toolkit is provided free of charge by NI.
STUDENT MATERIALS
- SPI Communication Lab Manual
- SPI Communication VIs
SKILLS REQUIRED
National Instruments Generate Activation Code
- Introductory Embedded Systems or Microcontrollers
Mcafee Activation Code
Analog Discovery 2
Gives students access to a 100 MS/s oscilloscope, a logic analyzer, and six other instruments in a pocket-sized lab device. Learn more
LabVIEW
LabVIEW is systems engineering software for applications that require test, measurement, and control with rapid access to hardware and data insights. Learn more
Required Software
Download Academic Software, Learn About Software Licensing
- LabVIEW 2015 or later
- Digilent LINX
- Digilent WaveForms VIs
National Instruments Multisim Activation Code
Required Hardware
Native Instruments Massive Activation Code
- Analog Discovery 2 - NI Edition
- Arduino Uno or other LINX supported microcontroller - Full List Available Here
- Jumper Wires
These labs have related concepts that can expand student experience.