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]
Rating:
Author: MIKROE
Last Updated: 2024-07-09
Package Version: 2.0.0.6
mikroSDK Library: 2.0.0.0
Category: SRAM
Downloaded: 124 times
Not followed.
License: MIT license
The application demonstrates SPI SDK functionality.
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".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
5397_spi_demo.zip [8.66KB] | mikroC AI for ARM GCC for ARM Clang for ARM mikroC AI for PIC mikroC AI for PIC32 XC32 GCC for RISC-V Clang for RISC-V mikroC AI for AVR mikroC AI for dsPIC XC16 |
|
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.
We provide code for demonstrating the usage of functions contained in SPI driver library. To run this example, follow these steps:
Transferred data can also be seen on the Application output or UART terminal, depending on the chosen setup.