I was finally able to switch the mux so it doesn't appear to be a
firmware issue. I changed back to the older LSP instead of using the
updated version downloaded from TI. And my original idea of simply
changing the enable_ccdc2tvp5146 function in the tvp5146.c file to write
a 0x80 to register 0x8 at address 0x25 works, simply write data[1] =
0x80. Now pin 1 (select) is pulled to 3 V and when I try to run the demo
I get - Error: Cannot open /dev/video0 (No such file or directory), when
I change data[1] = 0 it runs fine and the select lines are 0 V. So I'm
guessing this error is because the VPFE is looking at the imager
interface instead of the tvp5146, I also get a bunch of NACK detected
messages when the kernel is booting, probably from trying to write to
tvp5146 but not seeing it. Now I just have to figure out how to
configure my OV camchip.
Chris Stillson wrote:
The two ways to do this are from user space (I use a package called
i2c-tools founds at http://www.lm-sensors.org/wiki/I2CTools) or in the
driver initialization code. Grep around for msp430 or tvp5146 and you
should find something.
good luck,
Chris
On Mon, Jul 7, 2008 at 10:45 AM, Anthony Gutierrez
<[EMAIL PROTECTED]> wrote:
Sorry, I am having the same problem. I still am unable to control the MUX to
select the imager interface over the default tvp5146. The only thing I do
know is that, if you're using the EVM, you need to write to the MSP430
(address is 0x25 according to the docs on spectrumdigital.com) on the EVM
through the i2c bus to control the MUX. I just don't know how to do this.
http://c6000.spectrumdigital.com/evmdm355/revd/files/EVMDM355_ECP_VA4.pdf
Kumar Bala (DSP-Weuffen GmbH) wrote:
Hello Anthony,
I was reading through the Davinci DM355 mailing list. I found your posts
on adapting video driver for an external decoder or an CCDC module.
I am trying to realtime streaming using DM355 and I would like to modify
the existing board to use either a standard definition decoder chip
which is cheaper and smaller - like TVP5150 or
high definition decoder such as TVP7002.
I am struggling to understand the VPFE driver architecture and things i
need to do to switch the mux to use imager data lines instead of onboard
decoder. Any suggestion from your side would be of great help.
_______________________________________________
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