Use SPI Register Write in Simulink with STM32

11 visualizaciones (últimos 30 días)
Sabrina Werner
Sabrina Werner el 24 de Feb. de 2023
Respondida: Adit Kirtani el 17 de Abr. de 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.

Respuesta aceptada

Adit Kirtani
Adit Kirtani el 17 de Abr. de 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.

Más respuestas (0)

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by