Hi Mike,
Thanks for your reply.
it can make the RT1062 reboot via calling NVIC_SystemReset();
I've attached a sample code that inherits from the hello_world demo in the SDK library. And the testing result is also presented below.
#include "fsl_device_registers.h"
#include "fsl_debug_console.h"
#include "board.h"
#include "pin_mux.h"
#include "clock_config.h"
int main(void)
{
char ch;
BOARD_ConfigMPU();
BOARD_InitPins();
BOARD_BootClockRUN();
BOARD_InitDebugConsole();
PRINTF("\r\n hello world.\r\n");
while (1)
{
ch = GETCHAR();
if(ch == 'y')
{
NVIC_SystemReset();
}
PUTCHAR(ch);
}
}

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.
-------------------------------------------------------------------------------