Processor Expert for S32DS for ARM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Processor Expert for S32DS for ARM

1,072 次查看
DenisT1980
Contributor III

I have a problem with processor expert and generated code.

I add the PinSettings component to my project and configured needed pins. In the folder “Generated Code” I can see the file pin_mux with corresponding structures. But I can not find the way, how I can add the automatic initialization function to my main.c file. The same for other components.

The HELP says „You can let Processor Expert call the Init method automatically by selecting "yes" for the Call Init method in the Initialization group of the Component's properties. „ But there is no such setting by me.

 

Thank you very much for your help!

0 项奖励
回复
2 回复数

1,053 次查看
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi,

 

Also, I would like to mention if you are not sure how to use some PE components you can look at the available examples located in the S32DS File -> New -> S32DS Project from Example -> S32SDK S32K1xx RTM v 3.0.0 ErxampleProjects

 

I hope it helps.

Best regards,

Diana

0 项奖励
回复

1,069 次查看
TomLightning
Contributor III

Hi,

you can initialize the GPIOs with the following code line:

PINS_DRV_Init(NUM_OF_CONFIGURED_PINS, g_pin_mux_InitConfigArr);

Place it in your application where you need to initialize the GPIOs.

Tom