LPC845,how to use external crystal as the chip clock source?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC845,how to use external crystal as the chip clock source?

Jump to solution
1,668 Views
Roger_WANG_2022
Contributor I

I use the LPC845-Example-Code-Bundle-IAR code to test my board. when I try to use SystemInit() (system.c)to initialize my system clock. some definitions was chip_setup.h. My question is how to config these. For example, I want to use 12M external crystal as clock source, and get 30Mhz.

Labels (2)
Tags (2)
0 Kudos
Reply
1 Solution
1,501 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Roger Wang,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
I'd highly recommend you to use the MCUXpresso Config Tools to configure the clock, the tool provides a GUI allows developers to quickly build a custom clock and generate initialization C code for a custom board, so please give a try.

TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
1 Reply
1,502 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Roger Wang,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
I'd highly recommend you to use the MCUXpresso Config Tools to configure the clock, the tool provides a GUI allows developers to quickly build a custom clock and generate initialization C code for a custom board, so please give a try.

TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply