cancel
Showing results for 
Search instead for 
Did you mean: 

I am using MAT/TARGET I would like to know how use the SPI block thought simulink

MGian.1
Associate II

I already used MAT/TARGET and it works pretty good. Now I have a problem with SPI I can't find enough information to build my block diagram correctly with SPI. In particular I don't understand which type of data require in Input and how can I use simulink to generate a data store that I can use to send data trough SPI.

Can anyone help me? may be with some example thanks

1 REPLY 1
hendrikk
Associate III

Use the byte pack block (embedded coder) or use matlab function block (Simulink / User-Defined Functions) like in the SPI example of the STM32Mat folder.