S32K146 GPIO port has no function when lpit module is running

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K146 GPIO port has no function when lpit module is running

Jump to solution
1,164 Views
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

 

Tags (1)
0 Kudos
1 Solution
1,139 Views
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

 

View solution in original post

0 Kudos
7 Replies
1,158 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@547416104

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

0 Kudos
1,153 Views
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 Kudos
1,149 Views
Senlent
NXP TechSupport
NXP TechSupport

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

Senlent_0-1657682253514.png

 

0 Kudos
1,145 Views
547416104
Contributor III

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

0 Kudos
1,140 Views
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 Kudos
1,133 Views
547416104
Contributor III

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

0 Kudos
1,140 Views
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 Kudos