i m using only S32K144_100 EVB board simply.is it correct ???
/* Write your local variable definition here */
uint8_t Master_send_buff[5]={0x10,0x20,0x30,0x40,0x50};
uint8_t Master_receive_buff[5]={0x00};
uint16_t transferByteCount;
uint32_t rx_size;
/*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/
#ifdef PEX_RTOS_INIT
PEX_RTOS_INIT(); /* Initialization of the selected RTOS. Macro is defined by the RTOS component. */
#endif
/*** End of Processor Expert internal initialization. ***/
/* Write your code here */
CLOCK_SYS_Init(g_clockManConfigsArr, CLOCK_MANAGER_CONFIG_CNT, g_clockManCallbacksArr, CLOCK_MANAGER_CALLBACK_CNT);
CLOCK_SYS_UpdateConfiguration(0U, CLOCK_MANAGER_POLICY_FORCIBLE);
PINS_DRV_Init(NUM_OF_CONFIGURED_PINS, g_pin_mux_InitConfigArr);
PINS_DRV_SetPinsDirection(PTB,(1<<14)&(1<<15)&(1<<16)&(1<<17));
LPSPI_DRV_MasterInit(LPSPICOM1,&lpspiCom1State,&lpspiCom1_MasterConfig0);
PINS_DRV_WritePins(PTB,(0<<17)); //pin low to enable device(chip_select)
while(1)
{
LPSPI_DRV_MasterTransfer(LPSPICOM1,Master_send_buff,&Master_receive_buff,transferByteCount);
PINS_DRV_WritePins(PTB,(1<<17)); //pin high to disable device
}