S32K146 GPIO port has no function when lpit module is running

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K146 GPIO port has no function when lpit module is running

Jump to solution
118 Views
547416104
Contributor II

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

 

Tags (1)
0 Kudos
1 Solution
93 Views
Senlent
NXP Employee
NXP Employee

Hi@547416104

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

Senlent_0-1657703159510.png

 

View solution in original post

0 Kudos
7 Replies
112 Views
Senlent
NXP Employee
NXP Employee

Hi@547416104

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

0 Kudos
107 Views
547416104
Contributor II

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 Kudos
103 Views
Senlent
NXP Employee
NXP Employee

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

Senlent_0-1657682253514.png

 

0 Kudos
99 Views
547416104
Contributor II

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

0 Kudos
94 Views
Senlent
NXP Employee
NXP Employee

Hi@547416104

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

Senlent_0-1657703159510.png

 

0 Kudos
87 Views
547416104
Contributor II

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

0 Kudos
94 Views
547416104
Contributor II

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 Kudos