*******************************************************************************
The purpose of this demo application is to present a usage of the
LPSPI IP Driver for the S32K3xx MCU.
The example uses LPSPI2 for transmit & receive Twelve bytes using the DMA.
This above mentioned operation is performed 10 times continuously
MOSI MISO connected on Hardware in loopback.
------------------------------------------------------------------------------
* Test HW: S32K3X2EVB-Q172
* MCU: S32K312
* Compiler: S32DS3.5
* SDK release: RTD 3.0.0
* Debugger: PE micro
* Target: internal_FLASH
********************************************************************************
For S32K312, please use this correct clock HSE to AIPS clock should be ½.
Please make these changes in the below all example code clock setting.
HSE clock to 60 MHZ.
Use this MACRO to enable disable the non cacheable region variable placement :--