You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently, Atmel/Microchip changed the specs on the ATmega328PB sometime between 2015 and 2017.
In the 2015 datasheet, there was only 3 bits defined in efuse, like the m328p has.
But, in the 2017 datasheet (and on the parts I received in Nov 2017), there is a new bit defined in efuse -- bit watterott#3, called CFD (disable Clock Failure Detection).
The default for this bit is '0', which disables the CFD. Interesting change on their part, seeing as how this new ATmega328PB canNOT drive a standard AT-cut 16MHz crystal to save its life.
This update adds support to the avrdude.conf file for this bit to allow programming of it and to avoid the error message generated because the device has it set already.
It also updates the value in the boards.txt file to default this bit to the Atmel/Microchip defined value of '0', rather than '1' (the old not-programmed default).
I was porting the code to our Atmega328pb board named Tit; noticed that the additional PWM output pins 0, 1 and 2 do not work..
The fix is simple, as you may already know it :), is to define relevant timers on pins_arduino.h file.
if defined(AVR_ATmega328PB)
else
endif
Will send a pull request once all the testing is done.
`
The text was updated successfully, but these errors were encountered: