I'm currently using S32 and processor expert to configure a project for MPC5777C. I found that if I include a FreeRTOS component, the ADC_init function cann't pass as it is provided in the adc_pal_eqadc_mpc5777c example, without FreeRTOS it is fine. Is there an example project to configure ADC_PAL with freertos for MPC5777C? Does any one has experience on this?
已解决! 转到解答。
Hi,
where do you call the init function? Notice that modules using OS services (like OSIF, for example) can't be executed before starting the scheduler. Common practice is to have an initialization task to initialized all needed resources and then you can create and start other tasks. I guess that this is the root cause.
Regards,
Lukas