Use SPI Register Write in Simulink with STM32
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sabrina Werner
le 24 Fév 2023
Réponse apportée : Adit Kirtani
le 17 Avr 2023
How to use the SPI Register Write Block?
I like to control a Step motor in Simulink, where i have to configure the spi registers. For me it isn't visible how the Block parameters are set. I have already read the description of the Block "SPI Register Wrtie" from Matlab, but it didn't help at all.
I use STM32F401RE and the X-Nucleo-Board with the L6474 controller on top.
0 commentaires
Réponse acceptée
Adit Kirtani
le 17 Avr 2023
Hi Sabrina,
To access the parameters to control the SPI Register Write block, be sure to double click on the block after adding it to your model. During run-time, these parameters will be used to control where the data goes and in what sequence. Here’s a link to the documentation page for the SPI Register Write Block:
I hope this has answered your question.
Thank you,
Adit Kirtani.
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!