Dear expert,
I used watchdog for software reset with RT1010.
I want that GPIO(GPIO_AD_05) level is not changed after watchdog reset.
Test sequences.
1. Power on
2. Set GPIO as high.
3. Watchdog reset.
4. I hope GPIO retain high level.
I tested but GPIO is reset and level is changed high to low after watchdog reset.
Would you guide how I can retain GPIO level after watchdog reset?
Thanks.
解決済! 解決策の投稿を見る。
Hi,
Thanks for your reply.
As the below figure shows, the WDOGn_RST_B_DEB reset is one of the cold type reset sources and it can reset the GPIO module, so it's impossible to retain the GPIO level after the reset.
Hope this is clear.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi
To define a certain level after reset/watchdog reset a pull-up or pull-down will be necessary.
Regards
Mark
Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
To be prudent, I was wondering if you can describe the testing process, for instance, the board, demo code, etc.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Dear jeremyzhou,
Please check below and if you need more, please let me know.
2. Set GPIO as high.
IOMUXC_SetPinMux(IOMUXC_GPIO_AD_05_GPIOMUX_IO19, 0U);
IOMUXC_SetPinConfig(IOMUXC_GPIO_AD_05_GPIOMUX_IO19, 0x70A0U);
gpio_pin_config_t gpio_output_config = {kGPIO_DigitalOutput, 1, kGPIO_NoIntmode};
GPIO_PinInit(GPIO1, (19U), gpio_output_config);
3. Watchdog reset.
WDOG_TriggerSystemSoftwareReset(WDOG1);
Thanks.
Hi,
Thanks for your reply.
As the below figure shows, the WDOGn_RST_B_DEB reset is one of the cold type reset sources and it can reset the GPIO module, so it's impossible to retain the GPIO level after the reset.
Hope this is clear.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------