2158175_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2158175_en-US

2158175_en-US

S32G pfe master project question

Hi,nxp

I'm testing the pfe_master project, using the MasterProject_RDB2 project from PFE-DRV_S32G_M7_MCAL_1.3.0, and I found that the initialization initialized the clock McuClockSettingConfig_0 first, and then re-initialized the clock after doing some module initialization McuClockSettingConfig_1, may I know the reason for this?
Why do I need to initialize the clock twice?

youke_0-1756199224336.png


Re: S32G pfe master project question

Hello, @youke 

Thanks for your reply.

From my understanding, it is difficult to do it once, since several steps needed for initializing the related clock.

Regarding to the method of initializing it, theoretically, it could be done either from the bootloader or the M core application itself, it depends only on your design.

If putting all clock init phase to the bootloader, then you may need to implement similar steps from teh PFE example to the bootloader to initialize the pfe, and then remove the corresponding phase from the M core application itself(pfe master exmaple.) to avoid any conflict.


BR

Chenyin

Re: S32G pfe master project questionHi, chenyin
Thank you for your reply
How do I need to do to initialize the clock only once?
Or can you help me to explain how I need to do the whole initialization logic if I use bootloader to boot the M core and use the pfe_master function?
Re: S32G pfe master project question

Hello, @youke 

Thanks for your post.

The first init could initialize clock for serdes module, while the second one is used for initializing serdes for the MUX.

I hope it will help.


BR

Chenyin

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 07:16 AM
Updated by: