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.

Question about the vpif_LCD_loopback example in the Starterware

Other Parts Discussed in Thread: CDCE913, THS8135, TVP5147, OMAPL138

Hello,

I am currently working on the image sensor (Aptina AR0331) with my C6748 LCDK.

In order to get the data out from the 36-pin zip connector and analyze the image/video frame by frame, as my first step, I want to test the vpif of the LCDK and thus start with the Starterware example project for LCDK: vpif_lcd_loopback. 

Of course, no LCD for the LCDK, so I wanna change transfer from LCD to the VGA output (LCD monitor is connected). the ultimate goal will be capturing the image/video from the image sensor through VPIF and then display it with the VGA.

When I first start to build the vpif_lcd_loopback project, the error: "#20 identifier "RASTER_END_OF_FRAME0_INT_STAT" is undefined" comes out.

Actually, i have not changed any code within yet.

Could anyone have look at it 4454.20130620_dpif_lcdk_loopback.zip

Thanks

  • Xu Xing,

    Will you provide some more details,
    1. What is version of  StarterWare package used by you?
    2. What are the supporting packages( with version) used to build?
    I think so, the below vpif_lcd_loopback example is working on lcdkC6748
    pdk_C6748_2_0_0_0\C6748_StarterWare_1_20_03_03\examples\lcdkC6748\vpif_lcd_loopback

  • Hi Pubesh,

    Thanks for the help.

    FYI,

    1. I am using the pdk_C6748_2_0_0_0\C6748_StarterWare_1_20_03_03\examples\lcdkC6748\vpif_lcd_loopback.

    2. Sorry, what do you mean by "supporting packages" exactly? the .h files?

    Currently I do not have a LCD, is there any example or guide on how to make it work with VGA port? 

    Best,

     

  • Hi Pubesh,

    I further check the hardware and the example project, there is no adv7343 and cdce913 on my LCDK board, only tvp5147 and ths8135 are on the board.

    For the VGA port, how should I config the interface and the output?

    Best,

  • Xu Xing,

    You have mentioned "my LCDK board". Is that TI provided LCDKC6748 board or your own customized board?

    And also I have verified vpif_lcd_loopback with LCDKC6748 board as you mentioned. Its working on LCDKC6748.
    pdk_C6748_2_0_0_0\C6748_StarterWare_1_20_03_03\build\c674x\cgt_ccs\c6748\lcdkC6748\vpif_lcd_loopback
    pdk_C6748_2_0_0_0\C6748_StarterWare_1_20_03_03\examples\lcdkC6748\vpif_lcd_loopback

    Some more details for you,
    1. adv7343 for DAC.
    2. cdce913 for clock generator
    3. tvp5147 for ADC

    You can see about SetUpLCD in vpif_lcd_loopback.c
    "Configures raster to display image"

  • Hi Pubesh,

    Thank you for the info.

    My LCDK is TMDXLCDK6748 :http://www.ti.com/tool/tmdxlcdk6748?DCMP=dsp-anniv-120901&HQS=dsp-anniv-em-sw1

    For the hardware you mentioned:

    1. there is no adv7343 on my current kit.

    2. no cdce913 either.

    3. I do have tvp5147 and ths8135.

    For my project I want to change the loopback from LCD to the VGA port.

    How should I adapt to the vpif-lcd-loopback example?

    Best,

  • Xu Xing,

    Thank you for board details. Kindly see the below wiki page for LCDK
    http://processors.wiki.ti.com/index.php/L138/C6748_Development_Kit_(LCDK)
    Can you share the details about board schematic to make sure the available device in board.
    Is that C6748 LCDK v.A6  or v.A5 Schematic?

  • Hi Pubesh,

    Thanks for he patient reply.

    I have checked the schematic version of my board, it is labeled L138/C6748 Development Kit Rev A5.

    So it is the C6748 LCDK v.A5?

    Best,

  • Xing,

    I have looked both the boards and schematics.

    1. Schematic of LCDK v.A5 for C6748
    2. Schematic of LCDK v.A6 for OMAPL138

    Both the boards have similar chip sets except C6748 & OMAPL138.
    And also finger print sensor(U26) is available on LCDKC6748 only.
    The adv7343.c and cdce913.c files are avilable in the vpif_lcd_loopback (StarterWare).
    If you check the function calls in the vpif_lcd_loopback project, It never called.