GPIO outputs affected by wdog?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

GPIO outputs affected by wdog?

跳至解决方案
928 次查看
gsosnow
Contributor II

For the  MK22FN512CBP12R I want to configure some gpios as outputs to control some external chips. My question is if a watchdog reset occurs will these gpios revert to inputs? If so, is there any way to prevent this from occurring, since reverting to inputs could affect the control and state of the external chips?

0 项奖励
回复
1 解答
875 次查看
mjbcswitzerland
Specialist V

George

A watchdog reset causes the GPIOs to be set to their default states - most as inputs or default peripheral functions.

If you want the states to be held in a particular state when this happens you will need to use external pullup and pull-downs to control the required state.

Regards

Mark

在原帖中查看解决方案

0 项奖励
回复
1 回复
876 次查看
mjbcswitzerland
Specialist V

George

A watchdog reset causes the GPIOs to be set to their default states - most as inputs or default peripheral functions.

If you want the states to be held in a particular state when this happens you will need to use external pullup and pull-downs to control the required state.

Regards

Mark

0 项奖励
回复