I would like to know what frequency the LPC2138 works at after reset. The Xtal is 12 Mhz.
After start it runs with XTAL frequency (12MHz). You may simply use the Simulator and open the dialog Peripheral - System Control Block - Phase Locked Loop (PLL). Then you can see how the CPU frequency changes when you setup the PLL. Reinhard