how to write spi with mpc5748g to sja1105q

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

how to write spi with mpc5748g to sja1105q

ソリューションへジャンプ
703件の閲覧回数
Fene
Contributor III

HI,

I have used lwip_mpc5748g demo, and found switch_config_init function.

In switch_config_init function, there are APIs SPI_MasterInit and SPI_MasterTransferBlocking.

Then, i have a look at AN1704, some question i want to known answer.

The enet0 of mpc5748g connected sja1105q, and mpc5748g used spi to make configure of sja1105q

"platform.spi_write" / "platform.spi_read"  in python script to used, but which api is spi write mpc5748g to sja1105q in s32sdk

which code is for spi communication?

タグ(1)
0 件の賞賛
1 解決策
675件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

you can take a look at this document in S32DS installation folder:

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\doc\S32SDK_MPC5748G_UserManual.pdf

SPI API is described in sections:

17.23 Deserial Serial Peripheral Interface (DSPI)

17.24 Deserial Serial Peripheral Interface Driver

Regards,

Lukas

 

元の投稿で解決策を見る

0 件の賞賛
1 返信
676件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

you can take a look at this document in S32DS installation folder:

c:\NXP\S32DS_Power_v2.1\S32DS\software\S32_SDK_S32PA_RTM_3.0.3\doc\S32SDK_MPC5748G_UserManual.pdf

SPI API is described in sections:

17.23 Deserial Serial Peripheral Interface (DSPI)

17.24 Deserial Serial Peripheral Interface Driver

Regards,

Lukas

 

0 件の賞賛