LPC2148 (non olimex)
Posted: Wed Jun 05, 2013 10:44 pm
Is there any tutorial to modify the demo of the LPC2148 to a custom plataform?
I know there is the demo and is very useful, but I modify the values of the file board.h in the (CHIBIOS)/boards/OLIMEX_LPC_P2148/ but doesn't work...
The olimex board use a crystal of 12Mhz, my board uses a 10 Mhz, so I through that modifying the values of FOSC and CCLK and PCLK will work... but doesn't.
Original
For my board
I know that the modify was navy for my part, but that was the last thing that come to my mind. I know there are the help in the source page and that, but is still some of confusing... not that full help or something... just asking here if there is any one that can help.
Thanks for reading.
I know there is the demo and is very useful, but I modify the values of the file board.h in the (CHIBIOS)/boards/OLIMEX_LPC_P2148/ but doesn't work...
The olimex board use a crystal of 12Mhz, my board uses a 10 Mhz, so I through that modifying the values of FOSC and CCLK and PCLK will work... but doesn't.
Original
#define FOSC 12000000
#define CCLK 48000000
#define PCLK 12000000
For my board
#define FOSC 10000000
#define CCLK 40000000
#define PCLK 10000000
I know that the modify was navy for my part, but that was the last thing that come to my mind. I know there are the help in the source page and that, but is still some of confusing... not that full help or something... just asking here if there is any one that can help.
Thanks for reading.