I ordered a ATMega 32U4 5V/16MHz from here. When I received it the voltage on VCC pin is 3.3v. Did I get a 3.3v/8Mhz board?
The crytsal on the board is 16Mhz but there is no marking about the voltage, so I am not sure which board I should select when uploading sketch from the IDE.
The board gets recognized as Audrino Leonardo at the Device manager and the IDE. I tried to follow the guide to hook it up from sparkfun but I am not sure which processor to select (No markings on the board), as the guide say uploading sketch with wrong board selected might brick the device.
As you might have guessed from all the noob questions, this is my very first audrino board that I purchased after watching this video on a DIY Joystick, so any guidance would be much appreciated.
Upadate.
To test the clock speed I tested the board with this code
void setup() {
pinMode(17, OUTPUT);
}
void loop() {
digitalWrite(17, HIGH);
delay(10000);
digitalWrite(17, LOW);
delay(10000); }
And flashed it as 5v/16Mhz Pro Micro. It actually worked with the correct timing. Now I am even more confused. Is this board actually working at 16Mhz with a 3.3Vcc? isn't that adviced agaisnt in the ATmel 32U4 Data sheet?
If you are powering the Micro from USB when you measure 3.3V on VCC, then you have a very strange board. The 16MHz crystal and matching bootloader say it's a 5V/16MHz board, but the voltage regulator is obviously 3.3V. In addition, on a 5V board there should be a direct connection from the USB power line to VCC (at least that's true of the original Sparkfun Pro Micro), and that's not present in yours. So yours is an oddball mixture. And yes, it does violate the datasheet limits, but based on what I see posted here, you can probably get away with using it as is. Just remember that all your GPIO and SPI lines are running at 3.3V, not 5V.
You're not the first one that has experienced this; lots of cheap chinese crap seem to put the wrong regulator on the board. There was recently another post about it.
If you need a 5V device, send it back and ask for a 5V version.
FYI
A real ProMicro from SparkFun does not identify itself as a Leonardo; can't remember what it says and no access to my stuff at the moment.