Spi_SetupEB doesn't prepare destination data poiter correctly

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Spi_SetupEB doesn't prepare destination data poiter correctly

1,248件の閲覧回数
simon98
Contributor IV

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

タグ(4)
0 件の賞賛
返信
1 返信

1,219件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信