Can the S32K144 read the state of GPIO?

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

Can the S32K144 read the state of GPIO?

519 Views
jingfang
Contributor IV

I find spec only 0/1,so how should I know state of GPIO(High/Low、OD/PP)?

捕获.JPG

捕获(23).JPG

0 Kudos
4 Replies

515 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@jingfang

First,the device does not support open drain on all the pins. Only pins that are configured for a protocol that requires open-drain (e.g;, LPI2C, LPUART single-wire) will work in open-drain mode.

Regarding the PP,you can take a look at the Pin Control Register(PORT_PCRn) ,

Senlent_0-1652707926285.png

BR!

     Jim,

 

0 Kudos

509 Views
jingfang
Contributor IV

Thacks a lot~

The PE/PS show internal,I want to know if my output is correct,are there any other registers?

Dose DSE represent low or high output voltage no matter OD or PP?

 

捕获.JPG

0 Kudos

497 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@jingfang

I haven't seen such a register, and I haven't seen such a function in the driver library. I think this should not be possible.

BR!

     Jim,

0 Kudos

495 Views
jingfang
Contributor IV

Thanks a lot~

0 Kudos