Hello,
someone knows on what MHz the ATMEGA32U4-AU is running?
Greetings, Arcanix
Hello,
someone knows on what MHz the ATMEGA32U4-AU is running?
Greetings, Arcanix
first result out of google is the spec sheet – first page of spec sheet:
"Up to 16 MIPS Throughput at 16 MHz"
so 16mhz.
Which is way faster than anything I have needed when using Arduinos.
You wind up shedding almost all of the cycles by polling (with no events sticking their hands up) or using delay() anyways. I have always run out of code space and memory way before I run out of cycles, but then again I haven’t been driving a hexapod robot yet.
If it runs with 16MHz im wondering about this line in the bootloader:
SUT_CKSEL = EXTXOSC_8MHZ_XX_16KCK_65MS
Found here: github.com/ArcBotics/Servotor32 … ttings.txt
Maybe I m wrong but this seems to me that it runs on 8MHz.
Greetings, Arcanix
hmm, it could be that the bootloader runs at 8mz, to allow for more reliable flashing?
the the main runs at 16?
I can’t see the sense in running the chip at half speed.
Hello olestra,
I asked in a german forum and now i got the point. With this line you only tell the ATMEGA32U4-AU that there is a extern crystal which has more than 8MHz. The ATMEGA32U4 will adopt the extern crystal frequence. In our case there is a 16MHz crystal on board. So the ATMEGA32U4 will run with 16MHz.
I was a bit confused because I set a ATMega8 on 16MHz a few month ago and there I was able to choose 16MHz and not like in this case “more then 8MHz”.
Greetings, Arcanix
Thanks. Arcanix!
I’m learning how to use microprocessors, and at my current knowledge level, bootloaders and fuse settings are flippin’ magic to me