Plecto
Full Member level 5
- Joined
- Jan 4, 2012
- Messages
- 315
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,298
- Activity points
- 4,979
Hi. I've used the TQFP atmega328p with my arduino a couple of times without any problems, but this last one is impossible to handle The circuit is very simple, I have the atmega328p TQFP chip, 16M crystal with two 22pF caps going to ground. I also have a 10k pull-up from the reset pin. Aside from this there are traces going different places (to two different ADC's, a temp sensor and to a LCD module), but none of these are connected. I have two 1uF decoupling caps on the board also. When I first tried it, I just couldn't upload the code (I get avrdude: stk500_getsync(): not in sync: resp=0x00). After testing both this and that I finally replaced the MCU with a brand new one (with a bootloader on it of course). I also tried to upload a code on this chip using a arduino shield I made and this worked fine. After soldering it to my PCB I was happy that I could finally upload my code, but after some seconds, the program stopped and the MCU started heating up! I replaced the chip again with an Atmega328 that I have previously used (which I knew worked), but the problem was still there. When I had the chip de-soldered I ohmed just about everything and I couldn't find any shorts or low impedance paths. I've also checked the PCB layout, made sure there are no shorts between the pins, the right voltages where it should be etc...