EXTERNAL RESET CAUSE detected when trying to init XTAL (SOLVED)

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

On a 128A1U board I designed when sysclk_init is called the processor mysteriously resets. Using the ASF Reset Cause module I could trace that the an external reset happens when I try to initialize the XTAL. (The conf_clock code is known to be working, I've used in in many other projects...)

 

I checked the PCB routing and indeed the reset line (PDI_CLOCK) is routed really close to the crystal itself. I tried to tie the reset line to high through a resistor but it didn't help.

 

Has anyone experienced something similar to this? What could I do to fix this issue?

Thanks!

 

 

Last Edited: Sun. Apr 22, 2018 - 05:07 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If this isn't solved, you probably want to remove the word "(SOLVED)" from the thread title.

"Experience is what enables you to recognise a mistake the second time you make it."

"Good judgement comes from experience.  Experience comes from bad judgement."

"Wisdom is always wont to arrive late, and to be a little approximate on first possession."

"When you hear hoofbeats, think horses, not unicorns."

"Fast.  Cheap.  Good.  Pick two."

"We see a lot of arses on handlebars around here." - [J Ekdahl]

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

And if it IS  solved, please indicate the solution.

 

Jim

 

Until Black Lives Matter, we do not have "All Lives Matter"!

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

The one of the xtal pins was shorted to reset through a tiny solder bridge between the pins.

It was not visible but heating the pins with a soldering iron took care of it!