How to configure VRC_CTRL on S32K342

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

How to configure VRC_CTRL on S32K342

1,666 Views
Hermit
Contributor I

Hi Team

We would like to configure the 7th pin(PTE13) of S32K342(MQFP100) to VRC_CTRL. The attached screenshot(attached 1) shows that it can be configured to PMC VRC. However, when I choose this pin and plan to configure it, there is no PMC VRC(see attached screenshot 2).

I attached the specific configuration and the code I add into project below. When I debug the project, the register CONFIG remains unchanged(see attached screenshot). Then what should I do to make it?

 

Best Regards

Hermit

0 Kudos
2 Replies

1,649 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Hermit,

You have probably an old RTD version.

In the latest version, there is PG, vrc_ctrl

But this is selected by default out of reset, so there is no need to initialize the pin in the SW.

danielmartynek_0-1675864190906.png

The Power_Ip_Init() initialize the Config register.

danielmartynek_1-1675866196444.png

danielmartynek_2-1675866243040.png

 

If it does not, can you update the latest RTD?

Do you use an NXP EVB or your own board?

 

Thanks,

BR, Daniel

 

 

 

 

0 Kudos

1,632 Views
Hermit
Contributor I

Thanks

0 Kudos