Now I have achieved a S32K146 software project. The MCU driver is from SDK configuretion.
I submit the software to client. I can't submit the source codes to client for secrecy agreement reason. So I Package the MCU and Board driver to a library and submit this library to my client. The client will use this library to develop their APP.
The problem is that when the client load my library to his S32DS project. The I2c and SPI communication is abnormal.
I can see when execute the LPSPI_DRV_MasterTransfer and LPI2C_DRV_MasterSendDataBlocking, the software is stop(Or maybe called collapsed). These 2 functions are from SDK.
But when I run this function in my full source codes open project, everything is OK.
I don't know the reason, I hope someone can help me.