Keeping the GPIO output level.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Keeping the GPIO output level.

ソリューションへジャンプ
819件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
1 解決策
713件の閲覧回数
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

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
714件の閲覧回数
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

0 件の賞賛
返信