Kapil,
There is a video mux in the DM355 EVM board, whose select lines have to
be programmed.
For the TVP5146 it is initialized(or selected) in the
enable_ccdc2tvp5146 of the decoder section.
In case if you are hooking an external decoder then you have to either
change this such that the mux lines of the external decoder is chosen or
write code such that they happen through I2c. viz. dm355 sends command
in i2c to msp430. msp430 chooses between video lines 1 or 0.
If you have a JTAG emulator for MSP430 you can directly choose between
these lines .
Hope this helps.
Cheers,
Deepak
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Kapil Pendse
Sent: Friday, November 21, 2008 3:55 AM
To: [email protected]
Subject: Control of MSP430 by DM355
Hello all,
Does the DM355 EVM codebase have any code to control the MSP430? The
background of my questions is this:
I have a DM355 application code and kernel source code that is not meant
for the EVM. That application does not use TVP5146, it uses the image
sensor chip. Now my task is to take that code and make it run on the EVM
board. When I boot that code on the EVM board, it loads the TVP5146
driver module (compiled as built-in module). The module's init function
'tvp5146_i2c_init()' gets called. But the probe function
'tvp5146_i2c_probe_adapter()' never gets called.
Since the MSP430 chip selects/deselects the TVP5146 on the EVM board, I
figured the reason for 'probe' not getting called could be that the
TVP5146 chip or the MSP430 chip is not getting 'woken up' or
'initialized' or something by this different application code.
So, is there any code on DM355 EVM that wakes up MSP430 in some way?
Maybe I need to add that piece of code to get the TVP5146 to be
detected?
That, or any other pointers/suggestions? Please help.
Best regards,
Kapil
--
"The Power to Imagine, is The Power to Create!"
-TTux
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates.
Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is
strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source