Amol,

1) No, it is a polling call.

2) If it was a blocking call the ctrl thread would look completely
different (likely broken into several threads because of the blocking).
The poll every 300ms was a compromise, but you can speed it up if you
want better response from the IR.

3) The fundamental "problem" is that the i2c command to the msp430 is
polling. If you don't use an ATA HD (ATA and the UART connected to the
msp430 on the DVEVM are muxed) you can use a UART to communicate with
the msp430. You might have to write new msp430 code for this (not sure),
and of course writing your own msp430 code is always an option in any
case. The code is available from Spectrum Digital.

Regards,
Niclas


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Amol Lad
Sent: Thursday, September 28, 2006 12:37 PM
To: [email protected]
Subject: Remote control response

Hi,

I've observed that remote control response in demo apps is bad. (Press
up/down keys on menu and you will see lot of key misses). 

1. THe demo calls function msp430lib_get_ir_key to get the remote key.
Is it a blocking call ?

2. If msp430lib_get_ir_key is a blocking call then you do not need
usleep(REMOTECONTROLLATENCY) in the while loop. REMOTECONTROLLATENCY is
300msec and can result in bad response

3. Any other IR implentation available on DaVinci

Thanks

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com _______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to