S32K146 GPIO port has no function when lpit module is running

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

S32K146 GPIO port has no function when lpit module is running

跳至解决方案
1,126 次查看
547416104
Contributor III

Hello EveryOne,

    I found the GPIO ports have no function when enable the lpit module, then I can not detect the gpio port power level changed and can output power level via gpio output port.

If disable the lpit module, the the gpio ports are work normal.

the code as the follow picture:

547416104_0-1657636215827.png

 

标记 (1)
0 项奖励
1 解答
1,101 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@547416104

you set the timer period to 1 prevent the PC from  jumping to main-loop.

Senlent_0-1657703159510.png

 

在原帖中查看解决方案

0 项奖励
7 回复数
1,120 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@547416104

Hi, can you send me your project, i need to double check it.

0 项奖励
1,115 次查看
547416104
Contributor III

Hello Senlent,

I have attached the demo project, please check the attachment for detail. if you have any questions, please told me, thanks a lot.

 

0 项奖励
1,111 次查看
Senlent
NXP TechSupport
NXP TechSupport

I did't find any code related to this question.

Senlent_0-1657682253514.png

 

0 项奖励
1,107 次查看
547416104
Contributor III

I'm very sorry, please refer to the follow attachment, thanks

0 项奖励
1,102 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@547416104

you set the timer period to 1 prevent the PC from  jumping to main-loop.

Senlent_0-1657703159510.png

 

0 项奖励
1,095 次查看
547416104
Contributor III

Yes,you are right, I just updated the item, thanks a lot!

0 项奖励
1,102 次查看
547416104
Contributor III

Hello Senlent,

I have fixed the problem, the root cause is configure mistake, I updated the configure, the gpio module and lpit module are all ok. 

0 项奖励