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

조회 수: 12 (최근 30일)
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!

답변 (0개)

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by