Please visit the homepage for location and information on open hours


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PIC Microcontrollers
06-21-2015, 01:11 PM, (This post was last modified: 06-21-2015, 01:14 PM by ABearden.)
#6
RE: PIC Microcontrollers
According to the ATmega(48/88/168/328) datasheet the chip handles 20Mhz no problem and some have reported running their chip at 25 or 30 Mhz, though no promises on stability. And from what I can find writing your own bootloader seems pretty straight forward. If you want to use Arduino IDE, you should be able to swap to a 20Mhz crystal and use boards.txt to tell the IDE what frequency it's running at (it changes the comm and timing functions appropriately); it already set the 8+ Mhz, external crystal oscillator fuses. For programming, you can get a premade 20Mhz bootloader, but there's lots of info on it on the Arduino forums on modifying your own bootloader for 20Mhz as well. If you don't want Arduino, you have to write your own comm and timing functions anyway (apparently libc has helper macros to calculate that). Really just depends on how deep you want to get, but sounds like you're a two-feet kind of guy. Big Grin

Info Dump:
Software-
Atmel Studio 6 (direct link)
Hardware-
Eval Kit for ATmega328
Low Level-
AVR Instruction Set
Beginning/Getting Started Tutorial
Bootloader/Fuse Setting Tutorial
Reply


Messages In This Thread
PIC Microcontrollers - by Brendan - 06-19-2015, 09:06 PM
RE: PIC Microcontrollers - by ABearden - 06-20-2015, 12:18 AM
RE: PIC Microcontrollers - by Brendan - 06-20-2015, 07:59 PM
RE: PIC Microcontrollers - by ABearden - 06-21-2015, 01:22 AM
RE: PIC Microcontrollers - by Brendan - 06-21-2015, 06:13 AM
RE: PIC Microcontrollers - by ABearden - 06-21-2015, 01:11 PM
RE: PIC Microcontrollers - by Brendan - 06-21-2015, 06:00 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)