Fco. Javier Rodriguez G

9S08AW32 hangs when using PE for external clock

Discussion created by Fco. Javier Rodriguez G on Feb 3, 2008
Latest reply on Feb 3, 2008 by Jim Donelson
Hi!!

Using ProcessorExpert for specifying an external clock (crystal=8MHz, bus=16 MHz) and then loading the code into the S908AW32 through the "True time simulator and real-time debugger" tool, the program hangs waiting for the PLL to stabilize, so never reaches the main function.

It's not necesary to use the PE, however, setting up the clock module by hand is a bit confused, that's way I tried to use PE, but if there is some C code  for initializing the external clock  using (or even bypassing it) the FLL please let me know it (code, links, app-notes, etc). My board (of my own) already includes a 8 MHz crystal because I need a very exact base-time. I'm reading the app-note AN2494 and the AW32 datasheet, but some other help will be truly apreciated.

Thanks in advanced =)

Outcomes