Hi:
New a project from example "freertos_mpc5748g" in "SDK PA RTM v3.0.3", and then add a "adc_pal" and a "linflexd_uart".
Add the initialization code after the component is configured.
Set a breakpoint at the ADC_Init() at line 144 in the main file, and Debug it on the DEVKIT, But it could not run to the next statement. And suspend it, here a problem is emerging.
ADC_Init() or "adc_pal" do not work properly under the freertos?
Please see the attachment for details.
BR.
Hi,
It is mandatory to call init and other functions (if drivers uses OS services) after starting scheduler. Otherwise it won't work.
You can take a look at:
Regards,
Lukas