Processor Expert for S32DS for ARM

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

Processor Expert for S32DS for ARM

958件の閲覧回数
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 返答(返信)

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

955件の閲覧回数
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