Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

How to generate Freq & how to perform bit operation

How to generate Freq & how to perform bit operation

2006-02-21 by Saravanakumar S

Hi  ,
        I am new to this Embedded field.
        I have the following query.
                1.I want to generate Particular frequency Say Eg 50 kHz, 
with enable Ack bit.
                        When ever i want to generate the frequency,then i 
will enable the Ack bit.if i disable the bit means it will not generate 
the frequency.

        I have the perplextion,how can i achieve this problem?. There are 
3 ways to sortout this problem.
                                1.With out using timer & PWM only using 
GPIO functionality.
                                2.Using timer as a VIC interrupt
                                3.Using timer as a Match register

        If anybody having some other idea,can you suggest me? which one is 
best?


        I  am using LPC 2106 microcontroller.How can i perform bit 
operation.Bcoz if you want to perform bit operation in 8051 
microcontroller ,it is very easy.
 
        The Same operation, i want to perform in LPC 2106 microcontroller.

                                IOSET=0x00000001
                                IOCLR=0x00000001
        We have to send the data like this,for each & every time.Otherwise 
some other way is there to perform bit operation.


Regards,
S.kumar

 

[Non-text portions of this message have been removed]

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.