Generate variant code error via functional group with S32 Design Studio

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

Generate variant code error via functional group with S32 Design Studio

282 次查看
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 回复数

244 次查看
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 项奖励
回复

219 次查看
WQS
Contributor I

Hello @Senlent 

Thanks for your solution.

0 项奖励
回复