Processor Expert for S32DS for ARM

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

Processor Expert for S32DS for ARM

870 Views
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 Kudos
2 Replies

851 Views
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 Kudos

867 Views
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