??? 09/11/07 03:13 Read: times |
#144352 - This does not make him learn to swim... Responding to: ???'s previous message |
Richard said:
Is it possible that this problem stems from the fact that the MCU is from ATMEL? Haha, it was only a question of time that you would formulate this... No, Richard, in this forum there's a long history about failings with breadboards, not at all to do only with ATMEL's micros. Also, I don't think that it necessarily has to do with the oscillators traces. I think the whole set-up is improper, especially the power supply decoupling. Richard said:
I do recall, however, that we were able to get crystal oscillators to work just fine back in the days when we allowed 5-10 cm traces between the crystal and the active components. No, that's too long. I know of several cases, where more than 1...2cm resulted in problems. Not only caused by the inductance of traces, but also by the current loop formed and the associated radiation. If you are lucky, your design with the 10cm long traces might work, but all application notes, dataheets and other papers demand shortest traces! I would heavily recommend the use of shortest traces for the whole oscillator section. By the way, with your 10cm design you would heavily fail the CE radiation test!!! Richard said:
I'm still thoroughly convinced that the problem lies in (1) the use of the solderless breadboard, and (2) the integrity of the connections between oscillator components, i.e, cap's, crystal, and MCU. Rubem was just reporting, that his breadboard design works, but the PCB version fails. So, what about that? Richard said:
The fact that the "breadboard" circuit changes its behavior from day to day shouldn't surprise anyone. No circuit built on one of these is entirely static. Yes, breadboards are entirely unsuited for high speed designs or fast digital circuits, because they don't allow the use of a solid ground plane but introduce lots of complex impedances. Rubem must show us his layout to be able to find the cause of his problems. More, we could recommend him a suited layout, what I tried to do in an earlier post. Kai |