Hello!
I have disabled RSTPE with SOPT1 = 0, but PTA5 GPIO still reset the microcontroller when it was to low level.
Please, Can anyone please help me to understand this behaviour?
This is my source code to set it:
void main(void)
{
/
WDOG_CNT = 0xC520U;
WDOG_CNT = 0xD928U;
WDOG_TOVAL = 0x04U;
WDOG_CS2 = 0x11U;
WDOG_CS1 = 0x81U;
PORT_PTAOE=0b00001100;
PORT_PTBOE=0b00010010;
PORT_PTCOE=0b00001111;
PORT_PTDOE=0b00000000;
PORT_PTAIE=0b00100010;
PORT_PTBIE=0b11000101;
PORT_PTCIE=0b01000000;
PORT_PTDIE=0b00000000;
PORT_PTAPE=0b00100000;
PORT_PTBPE=0b11000101;
PORT_PTCPE=0b00000000;
PORT_PTDPE=0b01000000;
/
ICS_C4 = (char)((*(char*)0xFF6EU)&(char)0x01U);
/
EnableInterrupts;