Example MPC5777M DSPI_SimpleTXRX S32DS_1.1

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

Example MPC5777M DSPI_SimpleTXRX S32DS_1.1

Example MPC5777M DSPI_SimpleTXRX S32DS_1.1

********************************************************************************
* Detailed Description:
*
* Application initializes SPI0 module as a master and SPI2 module as a slave.
* Data are sent from master to slave and from slave to master. Simple

* polling method is used to determine, when data were sent/received.

* Received data are saved to global variables.
*
* ------------------------------------------------------------------------------
* Test HW:         MPC5777M-512DS, MPC57xx Motherboard
* MCU:             PPC5777MQMVA8 0N78H
* Fsys:            PLL0 300MHz
*                    PLL1 300MHz
* Debugger:        Lauterbach Trace32
*                  PeMicro USB-ML-PPCNEXUS
* Target:          internal_FLASH (debug mode, debug_ram mode, release mode)
* EVB connection:  P18.12 to P14.13 (CS_0)
*                    P11.4 to P8.13 (SCK)
*                    P11.1 to P11.5 (SOUT - SIN)
*                    P11.8 to P12.9 (SIN - SOUT)
*
*
********************************************************************************

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1100284%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5777M%20DSPI_SimpleTXRX%20S32DS_1.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1100284%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3CBR%20%2F%3E*%20Detailed%20Description%3A%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20Application%20initializes%20SPI0%20module%20as%20a%20master%20and%20SPI2%20module%20as%20a%20slave.%3CBR%20%2F%3E*%20Data%20are%20sent%20from%20master%20to%20slave%20and%20from%20slave%20to%20master.%20Simple%3C%2FP%3E%3CP%3E*%20polling%20method%20is%20used%20to%20determine%2C%20when%20data%20were%20sent%2Freceived.%3C%2FP%3E%3CP%3E*%20Received%20data%20are%20saved%20to%20global%20variables.%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20------------------------------------------------------------------------------%3CBR%20%2F%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20MPC5777M-512DS%2C%20MPC57xx%20Motherboard%3CBR%20%2F%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5777MQMVA8%200N78H%3CBR%20%2F%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PLL0%20300MHz%3CBR%20%2F%3E*%20%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PLL1%20300MHz%3CBR%20%2F%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3CBR%20%2F%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PeMicro%20USB-ML-PPCNEXUS%3CBR%20%2F%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20internal_FLASH%20(debug%20mode%2C%20debug_ram%20mode%2C%20release%20mode)%3CBR%20%2F%3E*%20EVB%20connection%3A%26nbsp%3B%20P18.12%20to%20P14.13%20(CS_0)%3CBR%20%2F%3E*%20%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20P11.4%20to%20P8.13%20(SCK)%3CBR%20%2F%3E*%20%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20P11.1%20to%20P11.5%20(SOUT%20-%20SIN)%3CBR%20%2F%3E*%20%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20P11.8%20to%20P12.9%20(SIN%20-%20SOUT)%3CBR%20%2F%3E*%3CBR%20%2F%3E*%3CBR%20%2F%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1100284%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3CBR%20%2F%3E*%20Detailed%20Description%3A%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20Application%20initializes%20SPI0%20module%20as%20a%20master%20and%20SPI2%20module%20as%20a%20slave.%3CBR%20%2F%3E*%20Data%20are%20sent%20from%20master%20to%20slave%20and%20from%20slave%20to%20master.%20Simple%3C%2FP%3E%3CP%3E*%20polling%20method%20is%20used%20to%20determine%2C%20when%20data%20were%20sent%2Freceived.%3C%2FP%3E%3CP%3E*%20Received%20data%20are%20saved%20to%20global%20variables.%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20------------------------------------------------------------------------------%3CBR%20%2F%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20MPC5777M-512DS%2C%20MPC57xx%20Motherboard%3CBR%20%2F%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5777MQMVA8%200N78H%3CBR%20%2F%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PLL0%20300MHz%3CBR%20%2F%3E*%20%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PLL1%20300MHz%3CBR%20%2F%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3CBR%20%2F%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PeMicro%20USB-ML-PPCNEXUS%3CBR%20%2F%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20internal_FLASH%20(debug%20mode%2C%20debug_ram%20mode%2C%20release%20mode)%3CBR%20%2F%3E*%20EVB%20connection%3A%26nbsp%3B%20P18.12%20to%20P14.13%20(CS_0)%3CBR%20%2F%3E*%20%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20P11.4%20to%20P8.13%20(SCK)%3CBR%20%2F%3E*%20%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20P11.1%20to%20P11.5%20(SOUT%20-%20SIN)%3CBR%20%2F%3E*%20%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%20P11.8%20to%20P12.9%20(SIN%20-%20SOUT)%3CBR%20%2F%3E*%3CBR%20%2F%3E*%3CBR%20%2F%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1100284%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎12-30-2016 05:13 AM
Updated by: