TOP Contributors

  1. MIKROE (2659 codes)
  2. Alcides Ramos (356 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136993 times)
  2. FAT32 Library (70106 times)
  3. Network Ethernet Library (56026 times)
  4. USB Device Library (46345 times)
  5. Network WiFi Library (41962 times)
  6. FT800 Library (41280 times)
  7. GSM click (29051 times)
  8. mikroSDK (26489 times)
  9. PID Library (26447 times)
  10. microSD click (25413 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

SPI Demo

Rating:

0

Author: MIKROE

Last Updated: 2024-04-03

Package Version: 2.0.0.4

mikroSDK Library: 2.0.0.0

Category: SRAM

Downloaded: 58 times

Not followed.

License: MIT license  

The application demonstrates SPI SDK functionality.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "SPI Demo" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "SPI Demo" changes.

Do you want to report abuse regarding "SPI Demo".

  • Information
  • Comments (0)

mikroSDK Library Blog

SPI DEMO

This is a simple example that utilizes mikroSDK 2.0 SPI driver library. In this demo, we use SRAM click to write 20 bytes of data and read them back. Written and read data is printed out on the Standard output - Application output or UART, determined by the chosen setup.


  • Author : MIKROE
  • Version : 2.0.0.4
  • Date : July 2023.

Hardware support

image

  • Note: You can also use a logic analyzer to see signals and data.

Software Support

We provide code for demonstrating the usage of functions contained in SPI driver library. To run this example, follow these steps:

  1. Install the package from Package manager.
  2. Open example.
  3. It will take you to setups, so make one for your hardware.
  4. Choose adequate setup and the project will open.
  5. Program it by clicking on Flash.
  6. If transfer completes successfully, INT pin on the Tester click will light up.

Transferred data can also be seen on the Application output or UART terminal, depending on the chosen setup.

example


ALSO FROM THIS AUTHOR

AD SWIO click

0

AD-SWIO Click is a quad-channel software configurable input/output solution based on AD74412R. The AD74412R is a quad-channel software configurable input/output integrated circuit for building and process control applications.

[Learn More]

Inclinometer click

0

Inclinometer Click is a compact add-on board that offers best-in-class characteristics for inclination measurements. This board features the SCL3300, a high-performance inclinometer sensor component from Murata.

[Learn More]

IRNSS click

0

IRNSS Click is a compact add-on board that provides fast positioning capability. This board features the L89H, a high-performance IRNSS-enabled GNSS module capable of acquiring and tracking GPS, IRNSS, GLONASS, BeiDou, Galileo, and QZSS signals from Quectel Wireless Solutions.

[Learn More]