Switching Between Programming and Power Options With Xplained Mini

Last modified by Microchip on 2026/10/23 09:32

Overview

In this video:

  • Alternate between In-System Programming (ISP) and debugWIRE interface (toggling the power after using Serial Peripheral Interface (SPI) to enable the Debug Wire Enable (DWEN) Fuse).
  • Switch to ISP from debugWIRE:
    • While debugging, selecting Disable debugWIRE and close now allows you to select ISP
  • Open the Programming dialog box in ISP mode to read the fuse settings.
  • Program the Clout Out (CKOUT) fuse to put the AVR® MCU clock out on the COUT pin.
  • Run the ATmega328PB Xplained Mini at:
    • 5 V - reading a clock frequency of 16 MHz
    • 3 V - reading a clock frequency of 8 MHz
  • Understand speed vs. voltage of the AVR MCU from the data sheet.