Good Morning,
A simple question, at Config Tools for i.MX v9, one of the options to configure a GPIO is "Pull Resistor Enable Field", what is the exact meaning of this option ? Can you also verify if the other options I understand correctly (see below) ?
Pull-Up Enable Field - Include a Pull-up at internal PAD works for Input and Output.
Software Input on Field - Read the PAD in a Output GPIO, wors for Output only
Hysteresis Enable Field - Hysteresis the input signal, works for input only
Open Drain Enable Field - Open Drain Output, works for Output only
Slew rate Field - Output slew rate - works for Output only
Drive Strenght Field - Output Drive Strength - works for Output only
Thanks
Solved! Go to Solution.
Hi Sergio
your understanding is correct except SION (Software Input on Field) - it works
for Input and Output. Also may be useful AN5078
Influence of Pin Setting on System Function and Performance
Best regards
igor
Hi Sergio
your understanding is correct except SION (Software Input on Field) - it works
for Input and Output. Also may be useful AN5078
Influence of Pin Setting on System Function and Performance
Best regards
igor
Hello Igor,
Thanks for Quick answer.
How about the "Pull Resistor Enable Field" ? As the Pull-Up resistor is another field, what is the meaning of this "Pull Resistor Enable Field" ?
At the .c this option is the "PE:" as below:
- {pin_num: AB9, peripheral: GPIO1, signal: 'gpio_io, 15', pin_signal: GPIO1_IO15, PE: Disabled}
Thanks
>How about the "Pull Resistor Enable Field" ?
your understanding is correct:
"Pull-Up Enable Field - Include a Pull-up at internal PAD works for Input and Output."
Best regards
igor
Igor,
look the attached picture, there is two different fields
"Pull Resistors Enable Field"
"Pull Up Enable Field"
one generate in .c "PE: " and the other "PUE:" as below:
- {pin_num: AG10, peripheral: GPIO1, signal: 'gpio_io, 08', pin_signal: GPIO1_IO08, identifier: RTC_INT_N, direction: INPUT, PE: Enabled, PUE: Enabled, SION: DISABLED,
HYS: Enabled, FSEL: SLOW0, DSE: X1_0}
The Pull-up I understand, I wan't to understand what is the "Pull Resistors Enable Field"
Sérgio
>I wan't to understand what is the "Pull Resistors Enable Field"
Best regards
igor
Hello Igor, thanks for the answer.
For me it is not clear yet... I had seen this table... let me try to explain.
Is this register a "global Pull configuration" ? Then if this register is disable the Pull-Up register next is don't care ?
Or it is a Pull-Down enable Register ? Or Other thing.... the sentence: "Pull Resistor Enable Field" is too vage
And it is valid for input or output ?.... I wan't to understand what is physically happen when I enable this register...
Thanks
>Is this register a "global Pull configuration" ?
yes
>And it is valid for input or output ?
for both
Best regards
igor