Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 27 Apr 2018 10:44 AM by  Flavio Cozzani
DM3730 Torpedo SOM TVP5150/5151
 10 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Flavio Cozzani
New Member
New Member
Posts:6


--
26 Apr 2018 10:25 AM

    Hi i'm working a lot to make the TVP5150 work with DM3730 torpedo SOM.

    Is them supported by the platform or it's impossible to make i work!!!????????????

    i'm really stucked.!!!!

    thanks

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    26 Apr 2018 11:23 AM
    I am not entirely sure if the kernel has support for that driver. The basic Torpedo kit does not have a TVP5150 part, so you'll need to modify the board file for the Kernel 3.0 to tell the Kernel how to use it once the driver has been enabled.

    The board file for the Torpedo is located: /arch/arm/mach-omap2/board-omap3logic.c in the Linux kernel.

    There are some examples of I2C devices (including Camera devices) can can guide you along.

    omap3logic_i2c_init is the function that enables the I2C devices. You can trace through it to see the various structures that need to be created to tell the kernel that the device is present and the corresponding platform data for the devices.

    If you're open to using a newer Kernel than 3.0, we have posted a beta of the 4.4 kernel and we will be soon posting a 4.9 kernel. These kernels use a device tree which are used to tell the kernel which devices are attached. From a time-to-market perspective, the device trees can save a lot of time, however there are some drivers not present in the 4.4 Linux kernel which cause some functional regressions for some devices like the ISP1763 USB controller, and our device tree is setup for the Torpedo + Wireless and not the torpedo, so there are some items like the video encoder that is also not enabled.

    The following board has an example of how to implement the TVP5146 I2C device in the device tree for use with Kernel 4.4
    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/arch/arm/boot/dts/omap3-evm-common.dtsi?h=v4.4.129

    We offer design services, and if you like, I can have one of our sales people contact you to discuss options.

    adam

    bradb
    Basic Member
    Basic Member
    Posts:203


    --
    26 Apr 2018 11:51 AM
    For customer looking to integrate a camera sensor, we recommend they review the AN 596 Logic PD Development Kit Camera Module Selection and Integration application note.

    Our development team has worked with the TVP5150 in the past for other customers. The TVP5150 is a simple chip to use. Please note the standard BSP doesn't have support for interlaced video input, so there is some work required to support that. Here is a patch (http://www.spinics.net/li...media/msg58705.html) that could help you get started. You will also need to update the TVP5150 driver to turn off at the proper time to prevent interrupt storms in the Camera ISP driver. Other porting/debugging may be needed as well.

    Let us know if you would like our development team to assist you in integrating the TVP5150 into your design.
    https://www.logicpd.com/contact/
    Flavio Cozzani
    New Member
    New Member
    Posts:6


    --
    27 Apr 2018 02:04 AM

    Hi thanks a lot. This is my previous post in the Texas forum:

    http://e2e.ti.com/support...SP-support-omap3isp- .

    Here i've used kernel 4.13 and also the kerne 4.4.y released from logic BSP. the problems with TVP is the same the OMAP3ISP driver seems broken and there's nothing that make it work. if you have some time, please read my post in Texas forum and let me know!....thanks a lot.

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    27 Apr 2018 07:29 AM
    We haven't done any testing on the 4.13 kernel nor do we have a TVP to test with the DM3730, however, our upcoming 4.9 kernel does use the OMAP3ISP driver to connect with a camera module and stream video (albeit slowly without the DSP available). My colleague, Brad is reviewing all the documentation and putting it through the final tests. Once it's published, you might be able to use some of the notes from that to configure the omap3isp to work with the TVP. I know there are people in the mainline Linux community working on the OMAP3ISP and I reviewed the logs of the TVP5150, and it appears to be getting reasonable support, but I don't know if any of those developers use them together.

    adam
    Flavio Cozzani
    New Member
    New Member
    Posts:6


    --
    27 Apr 2018 07:39 AM

    Thanks ADAM... do you know approximatly the release date of the new BSP?

    Thanks.

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    27 Apr 2018 07:43 AM
    I will have to defer to Brad, but I will ask to see if I can send you a draft of the manual to at least give you some suggestions. It's for a different camera, but it might be useful to see how we did it.

    adam
    Flavio Cozzani
    New Member
    New Member
    Posts:6


    --
    27 Apr 2018 07:52 AM

    Really thanks...!

    Tommaso.

    Flavio Cozzani
    New Member
    New Member
    Posts:6


    --
    27 Apr 2018 09:27 AM

    let me know if you can send me a copy!

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    27 Apr 2018 09:47 AM
    I sent you a copy to the e-mail address I have on file. Please let me know if you didn't receive it.

    adam
    Flavio Cozzani
    New Member
    New Member
    Posts:6


    --
    27 Apr 2018 10:44 AM

    arrived...thanks

    You are not authorized to post a reply.