how to write spi with mpc5748g to sja1105q

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to write spi with mpc5748g to sja1105q

Jump to solution
689 Views
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?

Tags (1)
0 Kudos
1 Solution
661 Views
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

 

View solution in original post

0 Kudos
1 Reply
662 Views
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 Kudos