Simulink STM32 package to write code for my STM32 F411 Discovery Board but SPI is not working

12 vues (au cours des 30 derniers jours)
I am trying to use embedded coder to to read data off of the gyroscope SPI peripheral on my stm32 f411 discovery board. I have tried many things but I am not able to get the data when I try to read it. I have attached pictures of the block diagrams and am unsure what I need to do to fix the issue. The first picture is configuring the gyroscope, the following ones are trying to read the data from the registers on the gyroscope. Any help would be appreciated. Thanks!

Réponses (0)

Produits


Version

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by