I am going to be programming this chip via Pololu ISP programmer . I want to use the external crystal oscillator do I need to program any fuses for this ?
I used atmel328 before brand new chip and I burned the bootloader and sketches on it via arduino and I didn't burn any fuses but the datasheet for atmega1284P is saying that by default internal clock is used which is only 1Mhz , I will be using 20Mhz crystal .
when I uploaded my atmega328P via arduino how did arduino setup the fuses since I never specified them?
I know the engbedded utility its for getting the right fuse values for the avrdude.
I have a feeling that my sketches were working cause the internal divided clock of 1Mhz was used and not the external 16Mhz crystal I put , right?
when I uploaded my atmega328P via arduino how did arduino setup the fuses since I never specified them?
I know the engbedded utility its for getting the right fuse values for the avrdude.
I have a feeling that my sketches were working cause the internal divided clock of 1Mhz was used and not the external 16Mhz crystal I put , right?
Its a while since I did any stand alone programming /fuses using an usbisp device, though think you may be using Studio with that Pololu programmer which has a fuse sub menu ?
Its better if you use the internal clock oscillator because for external clock source you have to program the low byte fuse and it is also more costly...
I am going to be programming this chip via Pololu ISP programmer . I want to use the external crystal oscillator do I need to program any fuses for this ?
I used atmel328 before brand new chip and I burned the bootloader and sketches on it via arduino and I didn't burn any fuses but the datasheet for atmega1284P is saying that by default internal clock is used which is only 1Mhz , I will be using 20Mhz crystal .
7.2.1 Default Clock Source
The device is shipped with internal RC oscillator at 8.0 MHz and with the fuse CKDIV8 programmed, resulting in 1.0 MHz system clock.
The startup time is set to maximum and time-out period enabled. (CKSEL = "0010", SUT = "10", CKDIV8 = "0").
The default setting ensures that all users can make their desired clock source setting using any available programming interface.
Its better if you use the internal clock oscillator because for external clock source you have to program the low byte fuse and it is also more costly...
Using the internal RC clock is an entirely different story, first of all it limits you to 8Mhz and secondly it has a quite high tolerance (compared to a 0.00005% of a crystal) plus it changes with the voltage supply level.
Depending on the application this may or may not be a problem.