S32K146 GPIO port has no function when lpit module is running

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

S32K146 GPIO port has no function when lpit module is running

ソリューションへジャンプ
1,189件の閲覧回数
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,164件の閲覧回数
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,183件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@547416104

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

0 件の賞賛
1,178件の閲覧回数
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,174件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

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

Senlent_0-1657682253514.png

 

0 件の賞賛
1,170件の閲覧回数
547416104
Contributor III

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

0 件の賞賛
1,165件の閲覧回数
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,158件の閲覧回数
547416104
Contributor III

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

0 件の賞賛
1,165件の閲覧回数
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 件の賞賛