Author Topic: LPC932  (Read 5170 times)

Yngwie

  • Guest
LPC932
« on: October 23, 2003, 07:03:25 am »
I use a LPC932 with a quartz 7.34Mhz hence

OSCCLK = 7.34Mhz and
PCLK = OSCCLK/2 = 3.67Mhz

While my program is running, i would like a port pin to be toggled at 2Khz for 200ms.

How can i do ?

The only way i thought was a timer 16 bit auto reload but it doesn

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC932
« Reply #1 on: October 23, 2003, 07:49:24 am »
This forum is for questions regarding ISP. You would probably be better off posting your question to either the 8052 forum at www.8052.com, or the Microcontroller discussion forum at http://forums.semiconductors.philips.com/forums/viewforum.php?f=1

I suggest you use Code Architect at www.codearchitect.org/philips to quickly and easily generate the code you want. Simply configure the timer and use the toggle output pin option.

Embedded Systems Academy, Inc.
support at esacademy dot com

rahul shinde

  • Guest
Re: LPC932
« Reply #2 on: September 20, 2004, 04:43:42 am »
sir,
       I am getting error in rtc of 1sec,can i get sample program.
    Please reply me.



Rahul

Andrew Ayre wrote:

> This forum is for questions regarding ISP. You would probably
> be better off posting your question to either the 8052 forum at
> www.8052.com, or the Microcontroller discussion forum at
> http://forums.semiconductors.philips.com/forums/viewforum.php?f=1
>
> I suggest you use Code Architect at
> www.codearchitect.org/philips to quickly and easily generate
> the code you want. Simply configure the timer and use the
> toggle output pin option.
>
>

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2190
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC932
« Reply #3 on: September 21, 2004, 08:04:36 am »
To get a sample program, using Code Architect at www.codearchitect.org/philips.

Embedded Systems Academy, Inc.
support at esacademy dot com