Generate variant code error via functional group with S32 Design Studio

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

Generate variant code error via functional group with S32 Design Studio

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

 

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

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

394件の閲覧回数
WQS
Contributor I

Hello @Senlent 

Thanks for your solution.

0 件の賞賛
返信