Content originally posted in LPCWare by unix1970 on Sun Feb 23 12:46:39 MST 2014
Thanks for your input! It already helped me finding some big mistakes but unfortunately the problem seems to stay the same.
As nothing seems to work at the moment, I wanted to run the controller with its internal clock, in the end it should run on 12,5MHz
For trying it with the internal clock, I chose the following preferences:
#define CLOCK_SETUP 1
#define SYSCLK_SETUP 1
#define SYSOSC_SETUP 1
#define SYSOSCCTRL_Val 0x00000000
#define WDTOSC_SETUP 0
#define WDTOSCCTRL_Val 0x000000A0
#define SYSPLLCLKSEL_Val 0x0000000
#define SYSPLL_SETUP 1
#define SYSPLLCTRL_Val 0x00000023
#define MAINCLKSEL_Val 0x00000003
#define SYSAHBCLKDIV_Val 0x00000001
#define AHBCLKCTRL_Val 0x0001005F
#define SSP0CLKDIV_Val 0x00000001
#define UARTCLKDIV_Val 0x00000001
#define SSP1CLKDIV_Val 0x00000001
I also uncomented the line you mentioned but it doesn't work. :((
Do you have some other ideas?