Use SPI Register Write in Simulink with STM32
12 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Adit Kirtani
2023-4-17
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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!