Generate variant code error via functional group with S32 Design Studio

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

Generate variant code error via functional group with S32 Design Studio

237 Views
WQS
Contributor I

Hello,

When I use the S32DS functional group to configure different variants, and if the only direction is different and others are same in port module, but in generated code, the direction are same in different variants and they are not complied with our configure. And the direction is complied with the last functional group.

As you can see, there have two functional group:

WQS_0-1714959727139.png

The PTD1 is configured to output in BOARD_InitPins, but it is configured to input in BOARD_InitPins_copy_1, and the BOARD_InitPins_copy_1 is the last group. And for generated code, the PTD1 is input in different group, it is unnormal. So please help me confirm if it is an issue, thanks.

 

Labels (1)
0 Kudos
2 Replies

199 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@WQS

Thanks for pointing it out,

Actually, you can do more testing on this feature and you will find that maybe only GPIO has such limitation(you can use API to change the GPIO direction ), if you set the port to LPUART or other peripheral, it will configure as expected.

0 Kudos

174 Views
WQS
Contributor I

Hello @Senlent 

Thanks for your solution.

0 Kudos