Skip to content

Commit 3698805

Browse files
committed
MPAE-6022: updated fuse settings in code to deafult
1 parent 2ad6ee3 commit 3698805

File tree

1 file changed

+3
-3
lines changed
  • avr128db48-opamp-gain-and-offset-calibration.X

1 file changed

+3
-3
lines changed

avr128db48-opamp-gain-and-offset-calibration.X/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@
3131
//To program the fuse bits, the FUSE macro is used. The fuse settings are set to the devices production values.
3232
FUSES = {
3333
.WDTCFG = 0x00, // WDTCFG {PERIOD=OFF, WINDOW=OFF}
34-
.BODCFG = 0x00, // BODCFG {SLEEP=DISABLE, ACTIVE=DISABLE, SAMPFREQ=32Hz, LVL=BODLEVEL0}
34+
.BODCFG = 0x00, // BODCFG {SLEEP=DISABLE, ACTIVE=DISABLE, SAMPFREQ=128Hz, LVL=BODLEVEL0}
3535
.OSCCFG = 0x00, // OSCCFG {CLKSEL=OSCHF}
36-
.SYSCFG0 = 0xC0, // SYSCFG0 {EESAVE=CLEAR, CRCSEL=CRC32, CRCSRC=NOCRC}
36+
.SYSCFG0 = 0xC0, // SYSCFG0 {EESAVE=DISABLE, RSTPINCFG=INPUT, CRCSEL=CRC16, CRCSRC=NOCRC}
3737
.SYSCFG1 = 0x08, // SYSCFG1 {SUT=0MS, MVSYSCFG=DUAL}
3838
.CODESIZE = 0x00, // CODESIZE
3939
.BOOTSIZE = 0x00, // BOOTSIZE
4040
};
4141
//Macro used to set lockbits. Set to production value.
4242
LOCKBITS = {
4343
0x5CC5C55C, // KEY {KEY=NOLOCK}
44-
};
44+
};
4545

4646
// The VREF (Voltage Reference) peripheral will be set up to generate a
4747
// reference voltage of 2.5 V

0 commit comments

Comments
 (0)