TOP Contributors

  1. MIKROE (2656 codes)
  2. Alcides Ramos (353 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 (136885 times)
  2. FAT32 Library (70006 times)
  3. Network Ethernet Library (56001 times)
  4. USB Device Library (46305 times)
  5. Network WiFi Library (41933 times)
  6. FT800 Library (41208 times)
  7. GSM click (29017 times)
  8. PID Library (26425 times)
  9. mikroSDK (26398 times)
  10. microSD click (25386 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: 57 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

eINK 2.13 inch display

0

eINK click is an adapter Click board™, used to interface a compatible eINK display with the host MCU.

[Learn More]

Heart rate 3 click

4

Heart rate 3 click is a mikroBUS add-on board whose functionality is determined by two components: an OSRAM’s SFH7050 pulse oximetry and heart rate monitoring module, and a TI AFE4404 (analong-front-end) IC specialized for bio-sensing.

[Learn More]

BATT-MAN 3 click

0

BATT-MAN 3 Click is a compact add-on board representing an advanced battery management solution. This board features the ADP5350, a power management IC with inductive boost LED, and three LDO regulators from Analog Devices. This I2C programmable board supports USB optimized for USB voltage input. It combines one high-performance buck regulator for single Li-Ion/Li-Ion polymer battery charging, a fuel gauge, a highly programmable boost regulator for LED backlight illumination, and three 150mA LDO regulators.

[Learn More]