How to configure VRC_CTRL on S32K342

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to configure VRC_CTRL on S32K342

6,228件の閲覧回数
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 件の賞賛
返信
2 返答(返信)

6,211件の閲覧回数
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 件の賞賛
返信

6,194件の閲覧回数
Hermit
Contributor I

Thanks

0 件の賞賛
返信