2020-05-28 05:08 AM
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
2020-09-29 01:02 PM
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.