Skip to content

pitchbent/zephyr_spi_basic_setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setting up SPI com with RT1020_EVK & Zephyr OS

Sadly, there is no easy to understand demo from official Zephyr sources, only the rather complex SPI test project. It took some time to understand how SPI com works, but it does now.

This should be easily transferable to other boards, you may have to adapt the .overlay file to your board.

This demo shows how to send data, receiving should not be an issue aswell, you need to use the function spi_read_dt().

Understanding how the devicetree and bindings work is crucial, i recommend this talk.

Building

west build -p -b mimxrt1020_evk

If you want to build for a different board, change mimxrt1020_evk to your board specifier.

About

Setting up basic SPI com using Zephyr OS and rt1020

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published