Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[AVR] Atmega328P-PU Custom PCB Crystal Placement Problem

Status
Not open for further replies.

ahas.raknahs.aydnina

Newbie level 1
Joined
Aug 22, 2019
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
20
View attachment Gerber_bn30_PCB_MB_New_01_20190808192410.zip

Hello,
I am currently designing a custom PCB for a machine which has 3 Atmega328P-PU chips on it. The problem that I'm facing is that the Atmega chip in the centre("MM_ATMEGA328P", TopSilkLayer in the attached gerber file) isn't responding as expected. Simple delay(secs) functions aren't working. The timimg is awry. All the reading I've done on the net suggests that the problem lies in the placement of the crystal and it's capacitors. I've made 4 tries yet involving 4 different designs. In 1 of the designs, all the chips were functional but the MM_ATMEGA328P couldn't successfully convert from Serial to Parallel using the 74HC595 chip. I'm using an Arduino Uno to program the chips with the Arduino bootloader intact.

The chip is connected to a 74HC595 Serial-to-Parallel Converter through 4 lines: MCU Pins 14,15,23 and 24 to 74HC595 Data(14), Clock(11), Latch(12) and OE(13) respectively. There is a 4-wire Jumper Cable from "J1_1_OE.L.D.C" (in BottomSilkLayer) to "J1_0_C.L.OE.D" (BottomSilkLayer) to complete the routing. This is because I learnt that clock or data lines should be kept away from power lines and their supporting components.

As this is my first post in this forum, I am not sure if this is a valid question, i.e. maybe I shouldn't be asking you to check and comment on the gerber. Please feel free to mention it if that's the case. If not, please tell me the issues which need to be corrected in the PCB. I'm lost 8-O
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top