Hi Yan,

Thank you very much for your response.

I think, my problem is not with register. I tried to read both registers but
nothing comes if I read IN_DATA register and something comes if I read OUT_DATA
register.
    You might be knowing that IR signal cosists of a pulse train of 14 pulses
(if any key is pressed on IR remote). These all pusles are written on the
bit number 7 of OUT_DATA register with the time delay of 1.728ms. Now the
problem is, when I continuously read 7th bit of OUT_DATA register, it gives
some different values than what I found on CRO ( when some key is pressed on
remote). So I think my problem is with the time delay at which I read 7th
bit of OUT_DATA register.

    So will you guide me to solve this problem?

Regards,

Dhaval Lakkad



> Read IN_DATA register instead of OUT_DATA register.
>
> -Yan
>
> Hi,
>
>    I am using a custom board having DM6467. The board has an IR reciever on 
> GPIO
> (at base address 0x01C67000). I want to make an application that read the
> data corresponding to the key pressed on the IR transmitter.
>    Right now, I am continuously reading "OUT_DATA2" register(at offfset 48h 
> from
> base address 0x01C67000) which gives the current state of the GPIO signal.
> But this register gets overwritten and hence I can not get the correct value
> when perticular key is pressed.
>
> So can any one guide me to read the correct value of the GPIO pin 
> (corresponding
> to IR) when a key is pressed on IR transmitter?
>
>
> THANK YOU
> DHAVAL LAKKAD
> eInfochips
>
>
>


-- 
_____________________________________________________________________
Disclaimer: This e-mail message and all attachments transmitted with it
are intended solely for the use of the addressee and may contain legally
privileged and confidential information. If the reader of this message
is not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution, copying, or other use of
this message or its attachments is strictly prohibited. If you have
received this message in error, please notify the sender immediately by
replying to this message and please delete it from your computer. Any
views expressed in this message are those of the individual sender
unless otherwise stated.Company has taken enough precautions to prevent
the spread of viruses. However the company accepts no liability for any
damage caused by any virus transmitted by this email.
__________________________________________________________________________
 

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to