40 Errata
Die Revision A
Device
-
- Not possible to read SYSCFG.EXTBRK.ENABLE
- The SYSCFG.EXTBRK.ENABLE bit is not readable.
- Fix/Workaround:
- None
AC
-
- False triggering when sweeping negative input of the AC when the low power mode is disabled
- A false trigger may occur if sweeping the negative input of the AC with a negative slope and the AC has low power mode disabled.
- Fix/Workaround:
- Enable low power mode in AC.CTRLA.LPMODE
-
- AC interrupt flag not set unless interrupt is enabled
- ACn.STATUS.CMP is not set if the ACn.INTCTRL.CMP is not set.
- Fix/Workaround:
- Enable ACn.INTCTRL.CMP or use ACn.STATUS.STATE for polling.
ADC
-
- SAMPDLY and ASDV does not work together with SAMPLEN
- Using SAMPCTRL.SAMPLEN at the same time as CTRLD.SAMPDLY or CTRLD.ASDV will cause an unpredictable sampling length.
- Fix/Workaround:
- When setting SAMPCTRL.SAMPLEN greater than zero the CTRLD.SAMPDLY and CTRLD.ASDV must be cleared.
-
- ADC interrupt flag cleared when reading RESH
- ADCn.INTFLAGS.RESRDY and ADCn.INTFLAGS.WCOMP are cleared when reading ADCn.RESH.
- Fix/Workaround:
- In 8-bit mode, read ADCn.RESH to clear the flag or clear the flag directly.
-
- Changing ADC control bits during free running mode not working
- If control signals are changed during free running mode, the new configuration is not properly taken into account in the next measurement. This is valid for registers ADC.CTRLB, ADC.CTRLC, ADC.SAMPCTRL and ADC.MUXPOS, ADC.WINLT and ADC.WINHT.
- Fix/Workaround:
- Disable ADC free running mode before update of ADC.CTRLB, ADC.CTRLC, ADC.SAMPCTRL, ADC.MUXPOS, ADC.WINLT or ADC.WINHT.
-
- One extra measurement performed after disabling ADC free running mode
- The ADC may perform one additional measurement after clearing ADCn.CTRLA.FREERUN
- Fix/Workaround:
- Write ADCn.CTRLA.ENABLE to zero to stop the free running mode immediately.
TCB
-
- TCB interrupt flag cleared when reading CCMPH
- TCBn.INTFLAGS.CAPT is cleared when reading TCBn.CCMPH instead of CCMPL.
- Fix/Workaround:
- Read both TCBn.CCMPL and TCBn.CCMPH.
-
- TCB input capture frequency and pulse-width measurement mode not working with prescaled clock
- The TCB input capture frequency and pulse-width measurement mode may lock to freeze state if CLKSEL in TCB.CTRLA is set to other value than 0x0.
- Fix/Workaround:
- Only use CLKSEL equal to 0x0 when using Input capture frequency and pulse-width measurement mode.
TCD
-
- TCD event output lines may give false events
- The TCD event output lines can give out false events.
- Fix/Workaround:
- Use the delayed event functionality with minimum one cycle delay.
-
- TCD autoupdate not working
- The TCD autoupdate feature is not working.
- Fix/Workaround:
- None.
TWI
-
- TIMEOUT bits in TWI.MCTRLB register is not accessible
- The TIMEOUT bits in TWI.MCTRLB register is not accessible from software.
- Fix/Workaround:
- When initializing TWI, BUSSTATE in TWI.MSTATUS should be brought into IDLE state by writing 0x1 to it.
-
- TWI Master Mode wrongly detect start bit as a stop bit
- If TWI is enabled in master mode followed by an immediate write to the MADDR register, the bus monitor recognize the start bit as a stop bit.
- Fix/Workaround:
- Wait minimum two clock cycles from TWI.MCTRLA.ENABLE until TWI.MADDR is written.
-
- TWI Smart Mode gives extra clock pulse
- TWI Master with Smart Mode enabled gives an extra clock pulse on SCL line after sending NACK.
- Fix/Workaround:
- None.
-
- TWI Master Enable Quick Command not accessible
- TWI.MCTRLA.QCEN is not accessible from software.
- Fix/Workaround:
- None.
USART
-
- Frame error on previous message may cause false start bit detection
- If receiving a frame with RXDATAH.FERR set and reading the RXDATAL before the RxD line goes high, will trigger a false start bit detection.
- Fix/Workaround:
- Wait for the RxD pin to go high before reading RXDATA, for instance by polling the bit in PORTn.IN where the RxD pin is located.