I am using iMX8XQXP MEK.
I am new to SCU firmware and have following doubts.
It is mentioned that all subsystem PLLs and clocks are managed by SCU.
I want to use M4 Core peripherals( Uart, ADC etc), for this will I need to make any change in SCU firmware?
Or do I only need to call SCFW API from my M4 Core Application?
Ain't the subsystem PLLs and clocks enabled by default by SCU?
Regards,
Hi Ruchi
>want to use M4 Core peripherals( Uart, ADC etc), for this will I need to make any change
>in SCU firmware? Or do I only need to call SCFW API from my M4 Core Application?
SCU firmware APIs are exported to M4 MCUXpresso SDK_MEK-MIMX8QX with
scfw_export_freertos.tar.gz package included in SCFW Porting Kit 1.10.0
Examples included in M4 MCUXpresso SDK_MEK-MIMX8QX, have for example functions in
../driver_examples/lpuart/polling/clock_config.c, emulating SCU APIs.
For SCFW clock usage one can look at sect.7.2 Clock Management
System Controller Firmware Porting Guide (sc_fw_port.pdf) included in SCFW Porting Kit.
M4 MCUXpresso SDK_MEK-MIMX8QX can be obtained on https://mcuxpresso.nxp.com/en/welcome
>Ain't the subsystem PLLs and clocks enabled by default by SCU?
yes
Best regards
igor
Thanks for information.
To be specific, I want to enable uart on M4 Core.
To do so, I will have to use SCFW APIs in my M4 core application to communicate with SCU.
I need to use API calls to power on respective uart and enable its clocks.
And need to repeat this for any other peripheral i want to use in M4 core.
Is that correct?
>To be specific, I want to enable uart on M4 Core.
there is such example of Local LPUART for M4 Core0 in ..driver_examples/lpuart folder
in M4 SDK_MEK-MIMX8QX available on https://mcuxpresso.nxp.com/en/welcome
Best regards
igor