TI E2E support forums
TI E2E support forums
  • User
  • Site
  • Search
  • User
  • E2E™ design support >
  • Forums
    • Amplifiers
    • API solutions
    • Audio
    • Clock & timing
    • Data converters
    • DLP® products
    • Interface
    • Isolation
    • Logic
    • Microcontrollers
    • Motor drivers
    • Power management
    • Processors
    • RF & microwave
    • Sensors
    • Site support
    • Switches & multiplexers
    • Tools
    • Wireless connectivity
    • Archived forums
    • Archived groups
  • Technical articles
  • TI training
    • Tech days
    • Online training
    • Live events
    • Power Supply Design Seminar
  • Getting started
  • 简体中文
  • More
  • Cancel
Processors

Processors

Processors forum

  • Mentions
  • Tags
  • More
  • Cancel
  • Ask a related question
    What is a related question?
    A related question is a question created from another question. When the related question is created, it will be automatically linked to the original question.
  • Ask a new question
  • Ask a new question
  • Cancel
  • State Resolved
  • Locked Locked
  • Replies 8 replies
  • Subscribers 99 subscribers
  • Views 1573 views
  • Users 0 members are here
  • DSP/BIOS
  • 6748 -OMAP -L138
  • 6748 TMS320C6748 LCDK
  • C674x
  • StarterWare
  • C6748 LCDK
Support feedback
Options
  • Tags
  • More
  • Cancel
Options
  • Share
  • More
  • Cancel
Related

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Leopard Imaging camera and LCDK6748

Javi UM
Javi UM
Intellectual 580 points
Other Parts Discussed in Thread: OMAPL138

Hello

I am using LCDK6748 and I want to execute the facedetect example. This example is in the C6SDK. I have just received a Leopard Imaging camera. The camera is connected to Leopard Imaging connector 36 pin.

The camera is LI-CAM-OV5653-P33.

Do I have to do many changes in code?? I think I have to change the pixel number but I do not know If I have ti change more options.

Can somebody tell me any tips??

Thank you veru much

Kind Regrads

over 11 years ago
  • Cancel
  • Sivaraj Kuppuraj
    0 Sivaraj Kuppuraj over 11 years ago
    TI__Mastermind 35645 points

    Hi,

    Thanks for your post

    C6748 LCDK directly interfaces Leopard Imaging Camera Sensor Input (36-pin ZIP connector) and it connects to the processor's VPIF input port and I2C0 or SPI1 ports. 

    You can run directly the face detect example from the BIOS C6SDK which supports leopard imaging camers sensor. You do not require the code to be changed. Please check the wiki below for more details:

    http://processors.wiki.ti.com/index.php/L138/C6748_Development_Kit_(LCDK)#LCDK_Features

    You can run the facedetect demo from the below .CCS build project:

    ~\Texas Instruments\c6sdk_02_00_00_00\demos\facedetect\build\cgt_ccs\lcdk

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question

    -------------------------------------------------------------------------------------------------------

     

    • Cancel
    • Up 0 True Down
    • Cancel
  • Javi UM
    0 Javi UM over 11 years ago in reply to Sivaraj Kuppuraj
    Intellectual 580 points

    I follow the steps but the Tera Term screen is blank and my vga monitor too.

    I am using CCS v6 and I have the XDS100v2 USB JTAG Emulator.

    If I try with basic examples (like hello world or little more complex), they work. But when I try to use facedetect example, nothing happens.

    Any idea?

    Thank you

    Kind Regards

    • Cancel
    • Up 0 True Down
    • Cancel
  • Sivaraj Kuppuraj
    0 Sivaraj Kuppuraj over 11 years ago in reply to Javi UM
    TI__Mastermind 35645 points

    Hi Javi,

    Thanks for your update.

    It is very straight forward to run the facedetect demo. May be, you could see very clear instruction from the below wiki to run the facedetect demo. I think, you have to make sure the DIP switches to boot in emulation mode, please see DIP switches 5 & 8 of S7 are ON. For more details, please ensure the check points bulleted in the wiki:

    http://processors.wiki.ti.com/index.php/BIOS_C6SDK_2.0_Getting_Started_Guide#Running_Facedetect_Demo_on_EVMC6748

    Facedetect Hardware setup:

    C6748 EVM:

    • Connect the Composite camera input at J6 on composite video input port.
    • Connect the Composite display out at J4 on Composite Video out port.

    C6748 LCDK:

    • Connect the Composite camera input at the J9 on composite video input port.
    • Connect the LCD screen at J8 on the VGA connector on the LCDK.

    Also, check the BIOSC6SDK user guide wiki as below for more details:

    http://processors.wiki.ti.com/index.php/BIOS_C6SDK_2.0_User_Guide#Face_Detect_Hardware_setup

    Thanks & regards,

    Sivaraj K

    ------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question

    -------------------------------------------------------------------------------------------------------

    • Cancel
    • Up 0 True Down
    • Cancel
  • Javi UM
    0 Javi UM over 11 years ago in reply to Sivaraj Kuppuraj
    Intellectual 580 points

    The instructions are very clear but the system does not work.

    I do not use the J9 port, I am using the Leopard Imaging connector. I think it is the same, isn't it?

    My camera has 5Mpixels, I do not have to change any parameter configuration, right?

    Can you tell how I have to put every DIP Switches (SW1).

    Thank you

    Kind Regards

    • Cancel
    • Up 0 True Down
    • Cancel
  • Titusrathinaraj Stalin
    0 Titusrathinaraj Stalin over 11 years ago in reply to Javi UM
    TI__Guru** 116100 points

    Hi Javi,

    Your camera seems to be 1080p@30fps HD resolution camera, I'm not sure that "facedetect" sample code could support for HD CMOS cameras. But C6748 would support 1080p mode through BT.1120 mode with operating clock at 74.25MHz.

    Please refer to the chapter 34.2.15.2.2 of C6748 TRM.

    I think that you have to change the lot of VPIF configurations in facedetect code to operate in HD.

    Also, I think that C6748/OMAPL138 LCDK's will not support CMOS camera for facedetect example but only for composite cameras.

    • Cancel
    • Up 0 True Down
    • Cancel
  • Javi UM
    0 Javi UM over 11 years ago in reply to Titusrathinaraj Stalin
    Intellectual 580 points

    Ok, thank your for your reply.

    And the example " vpif lcd_loopback " (it is in C6748_StarterWare).

    In this example, I would only have to change the vpif configuration, right?

    I want to see the image in the screen.

    Kind Regrads

    • Cancel
    • Up 0 True Down
    • Cancel
  • Titusrathinaraj Stalin
    0 Titusrathinaraj Stalin over 11 years ago in reply to Javi UM
    TI__Guru** 116100 points

    Hi Javi,

    I hope you can display the image through VPIF LCD loop back example since it has LCDC support.

    Change appropriate camera and display resolution settings in code and update us the status.

    Connect VGA display in J8 connector and connect your CMOS camera in J16 connector.

    Camera

    #define CAPTURE_IMAGE_WIDTH                 (XXXX)

    #define CAPTURE_IMAGE_HEIGHT                (XXXX)

    VGA

    #define DISPLAY_IMAGE_WIDTH                 (640)

    #define DISPLAY_IMAGE_HEIGHT                (480)

    • Cancel
    • Up 0 True Down
    • Cancel
  • Javi UM
    0 Javi UM over 11 years ago in reply to Titusrathinaraj Stalin
    Intellectual 580 points

    Hello

    I have changed the struct vbufParam with the  BT.1120 mode parameters. Also I changed the pixels resolution in the #define as you told me in the last post.

    Now, the led screen is on when I debug the software but the screen is blank and sometime the screen shows some color. I can not see the camera images.

    Maybe I need to change more parameters.

    Do you know If I have to change the clk or something.

    Thank you

    Kind Regards

    • Cancel
    • Up 0 True Down
    • Cancel