The maximum clock frequency that can be used with the internal oscillator is 20 MHz, but it's recommended to use a crystal oscillator for frequencies above 8 MHz for better accuracy and stability.
To configure the watchdog timer, set the WDT_CVAL register to the desired timeout period, enable the watchdog timer by setting the WDT_EN bit in the WDT_CTRL register, and make sure to periodically refresh the watchdog timer by writing to the WDT_CVAL register to prevent a reset.
Yes, the ADC can be used in sleep mode, but it will wake up the MCU when a conversion is complete. To reduce power consumption, use the ADC's low-power mode and consider using the MCU's low-power sleep modes, such as WAIT or STOP mode, when not using the ADC.
To implement a bootloader, reserve a section of flash memory for the bootloader code, use the MCU's flash programming interface to write the bootloader code, and configure the MCU's reset vector to point to the bootloader code. The bootloader can then update the application code in the remaining flash memory.
The maximum current that can be sourced or sunk by the GPIO pins is 25 mA, but it's recommended to limit the current to 10 mA or less to ensure reliable operation and prevent overheating.