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.

RTOS/AM5728: VIP driver

Part Number: AM5728
Other Parts Discussed in Thread: TVP5150

Tool/software: TI-RTOS

Hi,

I am develope an AM5728 and TVP5150 customization image processing board and use the vip port to capture image and now I want to compile and run captureVip and loopback example whit Cortex M4 IPU cores. I can compile and run it in DSP and ARM sides. Can I do it whit M4 IPU cores?

PDK Version: pdk_am57xx_1_0_1

Best regards,

Omid

  • The RTOS team have been notified. They will respond here.
  • Hi,

    Yes, those examples also worked on M4 core. There is a VPS loopback CCS project, for captureVIP and loopback you can also using makefile to build. The latest AM572x P-SDK RTOS release is 4.3, with pdk_am57xx_1_0_10. The wiki is:
    software-dl.ti.com/.../Device_Drivers.html

    Regards, Eric
  • Hi Eric,

    Thanks for your replay. I can run display example on DSP, ARM and M4 cores. But I can only run capture and loopback examples on DSP and ARM cores.

    displayDss:
    gmake -s vps_examples_displayDss BOARD=evmAM572x CORE=a15_0 BUILD_PROFILE=release
    gmake -s vps_examples_displayDss BOARD=evmAM572x CORE=c66x BUILD_PROFILE=release
    gmake -s vps_examples_displayDss BOARD=evmAM572x CORE=ipu1_0 BUILD_PROFILE=release

    captureVip:
    gmake -s vps_examples_captureVip BOARD=evmAM572x CORE=a15_0 BUILD_PROFILE=release
    gmake -s vps_examples_captureVip BOARD=evmAM572x CORE=c66x BUILD_PROFILE=release
    gmake -s vps_examples_captureVip BOARD=evmAM572x CORE=ipu1_0 BUILD_PROFILE=release

    loopback:
    gmake -s vps_examples_loopback BOARD=evmAM572x CORE=a15_0 BUILD_PROFILE=release
    gmake -s vps_examples_loopback BOARD=evmAM572x CORE=c66x BUILD_PROFILE=release
    gmake -s vps_examples_loopback BOARD=evmAM572x CORE=ipu1_0 BUILD_PROFILE=release

    M4_IPU2_C(NOK) terminal output

    src/bsputils_app.c @ Line 504: Error: init File IO complete for Sys Bios cases!!

    ...

    Execution Statistics 
    ====================

    Execution time : 30.4 s
    Total field Count : 0 (0 fields/sec)
    Avg CPU Load : 0 %

    Capture Instance 1 Statistics
    ==============================
    Capture Inst 1 Status: Number of request queued : 6
    Capture Inst 1 Status: Number of request dequeued: 0
    Capture Inst 1 Status: Overflow Count : 0

    CH | Q DQ Total Top Bot Total Top Bot Min/Max Min/Max Dropped Repeat Fid Desc
    (I/S/CH) | Count Count Fields Fields Fields FPS FPS FPS Width Height Frames Frames Repeat Error
    ---------------------------------------------------------------------------------------------------------------------------
    01.0.00 | 12 0 0 0 0 0 0 0 0/0 0/0 0 0 0 0

    Display Instance 0 Statistics
    ==============================
    Display Inst 0 Status: Number of request queued : 1
    Display Inst 0 Status: Number of request dequeued: 0
    Display Inst 0 Status: Displayed frame count : 1798
    Display Inst 0 Status: Frame repeat count : 1798

    Dispaly Controller Error Status
    ==============================
    LCD1 SyncLost count : 0
    LCD2 SyncLost2 count : 0
    LCD3 SyncLost3 count : 0
    TV SyncLost count : 0
    OCP Error count : 0



    LOOPBACK_APP: Display delete complete!!
    LOOPBACK_APP: Capture delete complete!!

    876315: LOAD: CPU: 1%, HWI: 0%, SWI:0%



    ARM or DSP sides (OK) terminal output

    Execution Statistics
    ====================

    Execution time : 50.996 s
    Total field Count : 0 (0 fields/sec)
    Avg CPU Load : 0 %

    Capture Instance 1 Statistics
    ==============================
    Capture Inst 1 Status: Number of request queued : 754
    Capture Inst 1 Status: Number of request dequeued: 1500
    Capture Inst 1 Status: Overflow Count : 0

    CH | Q DQ Total Top Bot Total Top Bot Min/Max Min/Max Dropped Repeat Fid Desc
    (I/S/CH) | Count Count Fields Fields Fields FPS FPS FPS Width Height Frames Frames Repeat Error
    ---------------------------------------------------------------------------------------------------------------------------
    01.0.00 | 1507 1500 1500 750 750 30 15 15 864/864 25/313 0 0 0 0

    Display Instance 0 Statistics
    ==============================
    Display Inst 0 Status: Number of request queued : 750
    Display Inst 0 Status: Number of request dequeued: 748
    Display Inst 0 Status: Displayed frame count : 1799
    Display Inst 0 Status: Frame repeat count : 1051

    Dispaly Controller Error Status
    ==============================
    LCD1 SyncLost count : 0
    LCD2 SyncLost2 count : 0
    LCD3 SyncLost3 count : 0
    TV SyncLost count : 0
    OCP Error count : 0


    LOOPBACK_APP: Display delete complete!!
    LOOPBACK_APP: Capture delete complete!!

    55316: LOAD: CPU: 1%, HWI: 0%, SWI:0%


    Best regards,

    Omid

  • Hi,

    What PDK release you are using for M4 testing? Is it pdk_am57xx_1_0_10?

    Regards, Eric
  • Hi,

    Yes, it is.

    AM57xx RTOS SDK version: v04.03.00.05

    CCS version: 8

    OS: windows 10 x64

    Best regards,

    Omid

  • Hi Eric,

    I’m eager to receive your feedback.

    Best regards,
    Omid
  • Hi,

    Sorry for the late response. We reproduced the issue when running on M4 and had a ticket to track that.

    Regards, Eric
  • Hi Eric,

    Thank you for your consistent support.

    Best regards,
    Omid