On the S32SDK_S32K1xx_RTM_3.0.0,Using the FreeRTOS module,
then can't use SPI fuunction :"LPSPI_DRV_MasterTransferBlocking(LPSPICOM1,senddata,readdata,4,100)" ,
and can't use SBC_Init(&sbc_uja11691_InitConfig0,LPSPICOM2).
If use these funtion ,the system will enter pending.
I think you have the same problem as on this thread: https://community.nxp.com/thread/497317
"As the driver uses FreeRTOS API, the driver must be initialized and used inside a FreeRTOS task after the scheduler is started."
Hi guangwen li
Sorry for the late reply, do you still face the issue? Could you share more information about your implementation or share the code that you are using?
There are two examples codes in the SDK, the sbc_uja1169 example and the LPSPI example. In your project, did you initialize the LPSPICOM2? I'm seeing that you are using LPSPICOM1 in your master transfer.
Looking for your reply.
Yes, my problem had not been solved.
In fact, this problem exists with SPI and freeRTOS.
CECport | www.cecport.com<http://www.cecport.com/>;
发送时间: 2019年8月1日 0:49
收件人: Guangwen.Li 李光文 <firstname.lastname@example.org>
主题: Re: - Re: FreeRTOS module issue
NXP Community <https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>
Re: FreeRTOS module issue
reply from Jorge Antonio Alcala Vazquez<https://community.nxp.com/people/jorge_a_vazquez?et=watches.email.thread> in S32 SDK - View the full discussion<https://community.nxp.com/message/1185461?commentID=1185461&et=watches.email.thread#comment-1185461>