Search the web
Sign In
New User? Sign Up
lpc2000 · LPC ARM Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Click here for the latest updates on Groups Message search

Messages

  Messages Help
Advanced
LPC1768 Cannot show CLKOUT clock output   Topic List   < Prev Topic  |  Next Topic >
Reply < Prev Message  | 

Hi:

I'm using the LPC1768 and Keil uVision 3.70 and I would like to see the internal
clock used by the MCU in the CLKOUT pin.

However, neither of the two pins that could show this output seem to work (P1.25
or P1.27).

The following code is used:

LPC_PINCON->PINSEL3 &= ~0x000C0000; /* P1.25, CLKOUT, function 10 */
LPC_PINCON->PINSEL3 |= 0x00080000;
LPC_SC->CLKOUTCFG |= ((1 << 8) | (1 << 7) | (1 << 6) | (1 << 5) | (1 << 4) | (1
<< 0)) ;

Tested with PLL enabled or disabled, results are the same.

The pin P1.25 seems to change (from low to high one time) when the PINSEL3
register is written, but no clock is seen after that.

Have anybody got the clock output working in this part?
Is there any other setting missing?


Regards,

Alex.




Wed Nov 11, 2009 5:27 pm

alexander_ri...
Offline Offline
Send Email Send Email

< Prev Message  | 
Expand Messages Author Sort by Date

Hi: I'm using the LPC1768 and Keil uVision 3.70 and I would like to see the internal clock used by the MCU in the CLKOUT pin. However, neither of the two pins...
alexander_ribero
alexander_ri...
Offline Send Email
Nov 11, 2009
5:32 pm

Hi: Effectively, P1.25 does not output CLKOUT as seems to indicate the PINSEL3 selection table (Table 82). Section 4.10 clearly states that the CLKOUT function...
alexander_ribero
alexander_ri...
Offline Send Email
Nov 11, 2009
7:50 pm

Hi, Lack of P1.25 CLKOUT function is one of the issues with the lpc1700 series. See the original thread in lpc1000 group here: ...
Pawel
elektrknight
Offline Send Email
Nov 11, 2009
10:18 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help