Skip to content

Luczia/NUC401-SPI-Encoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NUC401-SPI-Encoder

Description:

Simple program to test the SPI communication between a Nucleo F401 with AS5048 and icMU.

It includes DWT (to enable delays in µsecondsm as well as UART communication and SPI non-blocking call though DMA transfers). It rests upon CubeMX ennvironment. The code is architectured to enable cpp compilation (as it uses C++ libraies) in root mode (STM32CubeIDE file system compatible with MC-SDK)

The project remains fully reconfigurable with CubeMX (which will generate C files). To do so, it relies on a cpp_link bridge file which interfaces all the custom code (entry point of custom code is the file application.cpp) with the generic file main.c auto-generated by CubeMX

Originally developped and compiled on ST32CubeIDE 1.4.2 Last commit tested on STM32CubeIDE version 1.9.0

How to use :

Wire the sensor on SPIv3 of the nucleo board :
schematics picture

Import this repository in your CubeIDE (or in eclipse configured for embedded devlopement):
File > Import > General > Exisiting Projetc In Workspace > Next > Finish

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published