JN5189 chip input pin, how to set the floating input

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

JN5189 chip input pin, how to set the floating input

831 Views
Tome-mbedded
Contributor II

hello,

The pir sensor is connected to the io port of the 5189 as input, which is low when there is no one and high when there is someone. So 5189 io port is set as input, but I want to set floating input(What level is the peripheral device? What level is the IO port), how to call the function?

I don't set drop-down input. I want to set the float input.How to configure?

Tomembedded_0-1709625926809.png

Tomembedded_1-1709626222804.png

thank you!

 

0 Kudos
Reply
1 Reply

798 Views
EduardoZamora
NXP TechSupport
NXP TechSupport

Hello @Tome-mbedded

Hope you are doing well.

The following electrical properties are configurable for standard port pins:

  • Pull-up/pull-down resistor
  • Open-drain mode
  • Inverted function

For more information on this, please refer to the JN5189(T) User manual, Chapter 12: I/O Pin Configuration (IOCON). Section 12.5 Software control lists some functions and values for IOCON configuration.

Regards,
Eduardo.

0 Kudos
Reply