Keeping the GPIO output level.

cancel
Showing results for 
Search instead for 
Did you mean: 

Keeping the GPIO output level.

Jump to solution
261 Views
tomo
Contributor II

Hello,

I am debugging our custom board that used i.MX 6Solo.
I want to keep GPIO port level from before reset until after reset.
For example, EIM_A17 has been set to high level before reset and I want to keep until after reset.
I tried by the warm reset(watchdog reset) that, but level is not keep.
Is i.MX6 can this behavior?

Best regards,

tomo

Labels (1)
0 Kudos
1 Solution
155 Views
RossMcLuckie
NXP Employee
NXP Employee

Hi Tomo,

Unfortunately once a reset is applied the GPIO (IOMUX cells) reset to the state defined in the datasheet, in most cases this will be an input, taken from the datasheet table -

pastedImage_1.png

If you need a fixed high or low, you could use a pull resistor to set the level you need, but if you need to program a variable state and have that held during a reset sequence you will need to use an external latch to achieve this.

Regards

Ross

View solution in original post

0 Kudos
1 Reply
156 Views
RossMcLuckie
NXP Employee
NXP Employee

Hi Tomo,

Unfortunately once a reset is applied the GPIO (IOMUX cells) reset to the state defined in the datasheet, in most cases this will be an input, taken from the datasheet table -

pastedImage_1.png

If you need a fixed high or low, you could use a pull resistor to set the level you need, but if you need to program a variable state and have that held during a reset sequence you will need to use an external latch to achieve this.

Regards

Ross

View solution in original post

0 Kudos