Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 8 months ago.
LPC1549 to LPC1517
Team,
I am wondering if I move from using the LPC1549 (in dev board) to LPC1517 for production, do I have ot make any changes to the code? Even when I develop on the LPC1549, i am not using functions that are not available on LPC1517 and making sure the code size fits LPC1517
Also I see that by default on LPC1549 the clock is set to system clock instead of the external oscillator. If i need to change to external xtal (with 20MHz freq)Do i change the following code?
<<Code>> // // <h> System Oscillator Control (SYSOSCCTRL) // <o.0> BYPASS: System Oscillator Bypass Enable // <i> If enabled then PLL input (sys_osc_clk) is fed // <i> directly from XTALIN and XTALOUT pins. // <o.1> FREQRANGE: System Oscillator Frequency Range // <i> Determines frequency range for Low-power oscillator. // <0=> 1 - 20 MHz // <1=> 15 - 25 MHz // </h> #define SYSOSCCTRL_Val 0x00000001 // Reset value: 0x000 // <</Code>>
Thanks a bunch for your help