Main Menu

LPC932

Started by Yngwie, October 23, 2003, 07:03:25 AM

Previous topic - Next topic

Yngwie

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

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

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

To get a sample program, using Code Architect at www.codearchitect.org/philips.

Embedded Systems Academy, Inc.
support at esacademy dot com