Hi! What is the sense in that Atmel makes it hard to connect a Atmega32u2 with a USB connector, If you want to have both parts on one side of the PCB?
You have to use Vias to connect them then.
Hi! What is the sense in that Atmel makes it hard to connect a Atmega32u2 with a USB connector, If you want to have both parts on one side of the PCB?
You have to use Vias to connect them then.
Are you sure you do not have one of your parts reversed? I am going to have to look at a board I made as I have both on the same side and I don't think I have any vias.
Jim
They do appear to have different pin ordering in the datasheet, but micro USB connectors are available in both orientations. Perhaps they at first designed it one way and found the opposite orientation ended up being preferred? Just a wild ass guess. Either way, you should be able to find an appropriate part for either chip if you don't want to run vias.
Yes the pinout is correct, it's shown in this document on page 2, Fiugure 1-1. http://www.atmel.com/Images/7799...
Yes, you can get "reverse mount" USB connector, even though they are rather rare and more expensive.
It's just unnatural to have the pin order reverse in comparision to the USB connector, so I have no clue what Atmel had in mind designing this.
Granted you have to really go looking for them, but they're not that much more expensive. Here's 50 for 7 bucks.
I just looked and the pins are different as noted already. I did have to use a couple of vias for the power lines but in my case the D- and D+ lines went right to the connector.
Jim
Hi! What is the sense in that Atmel makes it hard to connect a Atmega32u2 with a USB connector, If you want to have both parts on one side of the PCB?
But if they did it in the other way then people who wanted the connector on the reverse of the board would complain.
You're required by law to be drunk while deciding the pin layout of integrated circuits.
Maybe they did the U4 version soon after people started pointing out to them how inopportune the U2 version was in this regard?
Chip makers usually don't care about the ease of designing a circuit board around their chip designs. That's why PCB vias were invented. Plus it might have been impossible or difficult to get a specific signal to a specific pin given the actual topology on the silicon die. The pins of the IC are connected to silicon die internally by little gold wires. Maybe the internal wires would have overlapped had the pins been laid out for ease-of-connector-access in the U2 version.
@Simonetta, ye, I don't know if that's true but it sounds plausible.
If you google up a picture of the Teensy board, you will see that the USB connector is on the same side of the board as the chip, and it is "upside down", with the wider edge of the connector at the top. I don't know how many layers the board has, but at least two. The tracking from the connector to the chip all appear to be on the top (visible) layer of the board - same side as the chip.
The Teensy-2 (the one I have) uses an ATMega32U4 8-bit uController.
@armstack As the picture of the pinouts in my original post show, the Atmega32U4 isn't the problem. It's the 32U2 that has the "unnatural" pin order.
Atmega32u2 USB interface pinout is suitable for dongle-style design with Type A onboard USB connector