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?
解決済! 解決策の投稿を見る。
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
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