I'm using S32K3X8EVB-Q289 with MBDT to develop the SPI commnication with FS26.
I've found that if i put the Spi_SetupEB and the Spi_AsyncTransmit into the initialize function of the model the data store memory assigned to Dest Data is always 0 if it's into the inizialize function as well...
If i take the dest Data out with an output port and attach a new data store to it, that data store memory will be filled with the spi data recived.
Why is that possible? Is there a way to solve this?
Attached you'll find my project zipped.
Thanks
Simon
Hi,
please search on MBDT Community space directly; https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/bd-p/mbdt
There are few threads dealing with this already, for example
https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Send-16-Bit-Control-signal-through-SPI/...
https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MR-CANHUBK344-SPI/m-p/1770950
Or post MBDT/MAtlab/Simulink related question there, so expert can handle it directly.
BR, Petr