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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
about timer in LPC2378   Message List  
Reply | Forward Message #43236 of 45910 |
RE: [lpc2000] about timer in LPC2378

----Original Message----
From: lpc2000@yahoogroups.com
[mailto:lpc2000@yahoogroups.com] On Behalf Of sukhdeep
singh Sent: 10 July 2009 13:09 To: NXP
Subject: [lpc2000] about timer in LPC2378

> I am using timer to generate frequency. which is given to
> adc for its working.
>
> i have written the code
>
> T0PC=0;
> T0MR0=14;
>
> then it works fine.
>
> but if i make
> T0PC=1;
> T0MR0=7;
>
> Then, it does not work.
> kindly tell me what is the difference between these two.


You should be setting T0PR (Prescale Register) not T0PC (Prescale
Counter). See page 536 of the manual.

--
Tim Mitchell




Fri Jul 10, 2009 12:20 pm

congoblue10
Offline Offline
Send Email Send Email

Forward
Message #43236 of 45910 |
Expand Messages Author Sort by Date

I am using timer to generate frequency. which is given to adc for its working. i have written the code T0PC=0; T0MR0=14; then it works fine. but if i make ...
sukhdeep singh
sukhdeepmanku
Offline Send Email
Jul 10, 2009
12:09 pm

... From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com] On Behalf Of sukhdeep singh Sent: 10 July 2009 13:09 To: NXP Subject: [lpc2000] about timer...
Tim Mitchell
congoblue10
Offline Send Email
Jul 10, 2009
12:21 pm
Advanced

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