S32DS library run abnormal

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

S32DS library run abnormal

652 Views
赵子成
Contributor IV

Hi everyone,

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.

Thanks.

0 Kudos
1 Reply

523 Views
赵子成
Contributor IV

Hi everyone,

Today I can get a temperary conclusion:

The project who load the library must contains the SDK codes.

Otherwise the I2c and  SPI communication is abnormal.

I still don't know the reason.

0 Kudos