Hi;
I've encountered on the documentation that when using AFE for metering application for the best accuracy PLL clock shall be used.
"AFE clocked from dedicated PLL. Option to run AFE with other clock sources
but at reduced accuracy."
Currently I've used FLL and the accuracy is not best (like 10-11bits resolution 128-oversampling ).
So now I would like to switch to CLK source to PLL but documentation says:
"The 32 kHz IRC is not preferred to drive the PLL input
reference when device is used for metering applications (IRC &
FLL clocks are inaccurate clock sources for AFE)."
I'm trying to fulfill the requirements using McuExpresso tool:
but it's seems to impossible to run PLL (to generate CLK for afe modulator) and in the same time setting clock core to not use PLL clk.
It is possible to run FLL for core clock and PLL for AFE?
Solved! Go to Solution.
Hi,
It seems you can use PLL and FLL simultaneously.
For example, you can import a AFE demo in MCUXpresso. Then
1. click the clock setting button.
2. double click AFECLK arrow.
3. modify in the Path Detail: AFECLK.
Regards,
Jing
I was able to set FLL for core and PLL for AFE as on your screen.
Thanks Jing,
Hi,
It seems you can use PLL and FLL simultaneously.
For example, you can import a AFE demo in MCUXpresso. Then
1. click the clock setting button.
2. double click AFECLK arrow.
3. modify in the Path Detail: AFECLK.
Regards,
Jing