SPRAD48 July   2022 DRA829J , DRA829J-Q1 , DRA829V , DRA829V-Q1 , TDA4VM , TDA4VM-Q1

 

  1.   Abstract
  2.   Trademarks
  3. Introduction
  4. Summary of Changes
  5. Procedure to Apply the Changes
    1. 3.1 Do Not Skip Any of These Steps
    2. 3.2 Patch Information
  6. Build Instructions
    1. 4.1 PSDKRA Build Instructions
    2. 4.2 PSDKLA Build Instructions
  7. Demo Applications
    1. 5.1 Basic OpenVX Kernels
    2. 5.2 Capture - Display UseCase
      1. 5.2.1 Steps to Enable Demo
    3. 5.3 Single Camera VPAC Application Demo
      1. 5.3.1 Steps to Enable Demo
    4. 5.4 Multi Camera VPAC Application Demo
      1. 5.4.1 Steps to Enable Demo
  8. Run Instructions
  9. Basic Demo Applications
  10. Single Camera VPAC Application Demo
  11. Multi Camera VPAC Application Demo
  12. 10Limitations

Single Camera VPAC Application Demo

  • The demo application runs on powerON and an image is seen on the eDP/HDMI display from the selected camera.
  • The images are such that the camera stream 1000 frames at 30 FPS.
  • In the UART terminal, you should see the login prompt as shown below:
    j7-evm login:
  • On the EVM, Login using the below user id, no password.
    root
  • On the EVM, do the following steps to view the logs for the demo application.
    cd /opt/vision_apps
    
    source ./vision_apps_init.sh
  • The following logs confirm that the completion of the demo applications on the R5F core are successful.
    [MCU2_0]     17.253918 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3
    [MCU2_0]     17.253987 s: ISS: Enumerating sensors ... found 1 : AR0233-UB953_MARS
    [MCU2_0]     17.254034 s: ISS: Enumerating sensors ... found 2 : AR0820-UB953_LI
    [MCU2_0]     17.254073 s: ISS: Enumerating sensors ... found 3 : UB9xxx_RAW12_TESTPATTERN
    [MCU2_0]     17.254123 s: ISS: Enumerating sensors ... found 4 : UB96x_UYVY_TESTPATTERN
    [MCU2_0]     17.254152 s: ISS: Enumerating sensors . found 5 : GW_AR0233_UYVY
    [MCU2_0]     17.254213 s: Sensor selected : IMX390-UB953_D3
    [MCU2_0]     17.254267 s: Querying IMX390-UB953_D3 
    [MCU2_0]     17.254305 s: ISS: Querying sensor [IMX390-UB953_D3] ... !!!
    [MCU2_0]     17.254357 s: ISS: Querying sensor [IMX390-UB953_D3] ... Done !!!
    [MCU2_0]     17.254398 s: ISS: Initializing sensor [IMX390-UB953_D3 doing IM_SENSOR_CMD_PWRON ... !!!
    [MCU2_0]     17.254476 s: IMX390_PowerOn : chId = 0x0 
    [MCU2_0]     17.254509 s: ISS: Initializing sensor [IMX390-UB953_D3], doing IM_SENSOR_CMCONFIG ... !!!
    [MCU2_0]     18.154770 s: Configuring IMX390mager 0x40.. Please wait till it finishes 
    [MCU2_0]     20.250648 s: ISS: Initializing sensor [IMX390-UB953_D3] ... De !!!
    [MCU2_0]     20.253748 s: app_create_viss : sensor_dccd = 390 
    [MCU2_0]     20.258297 s: Enabling LDC 
    [MCU2_0]     20.258350 s: Creating LDC 
    [MCU2_0]     20.345471 s: Scaler is enabled
    [MCU2_0]     20.353628 s: ISS: Starting ssor [IMX390-UB953_D3] ... !!!
    [MCU2_0]     20.907734 s: ISS: Starting sensor [IMX390-UB953_D3] ... !!!
    [MCU2_0]     20.908178 s:  VX_ZONE_WARNING:[tivxCaptureSetTimeout:774]  CAPRE: WARNING: Error frame not provided using tivxCaptureRegisterErrorFrame, defaulting to waiting forever !!!
    [MCU2_0]     20.942398 s: IMX390_GetWBPrgFxn: sensor_pre_gain = 0 
    [MCU2_0]     37.723111 s: ISS: Stopping sensor [IMX390-UB953_D3] ... !!!
    [MCU2_0]     37.765743 s: ISS: Stopping sensor [X390-UB953_D3] ... Done !!!
    [MCU2_0]     37.787827 s: ========================================================
    [MCU2_0]     37.787924 s:  Capture Status: Instance|0
    [MCU2_0]     37.787961 s: ========================================================
    [MCU2_0]     37.788010 s:  overflowCount: 0
    [MCU2_0]     37.788047 s:  spuriousUdmaIntrCount: 0
    [MCU2_0]     37.788084 s:  frontFIFOOvflCount: 0
    [MCU2_0]     37.788128 s:  crcCount: 0
    [MCU2_0]     37.788148 s:  eccCount: 0
    [MCU2_0]     37.788180 s:  correctedEccCount: 0
    [MCU2_0]     37.788214 s:  dataIdErrorCount: 0
    [MCU2_0]     37.788248 s:  invalidAccessCount: 0
    [MCU2_0]     37.788282 s:  invalidSpCount: 0
    [MCU2_0]     37.788321 s:  strmFIFOOvflCount[0 0
    [MCU2_0]     37.788352 s:  Channel Num | Frame Queue Coun| Frame De-queue Count | Frame Drop Count | Error Frame Count |
    [MCU2_0]     37.788429 s:            0 |            1008 |                 1008 |                3 |               0 |
    [MCU2_0]     37.789236 s: ==========================================================
    [MCU2_0]     37.789325 s:Capture Status: Instance|1
    [MCU2_0]     37.789361 s: ========================================================
    [MCU2_0]     37.789411 s:  overflowCount: 0
    [MCU2_0]     37.789445 s:  spuriousUdmaIntrCount: 0
    [MCU2_0]     37.789519 s:  froFIFOOvflCount: 0
    [MCU2_0]     37.789553 s:  crcCount: 0
    [MCU2_0]     37.789583 s:  eccCount: 0
    [MCU2_0]     37.789677 s:  correctedEccCount: 0
    [MCU2_0]     37.789718 s:  dataIrrorCount: 0
    [MCU2_0]     37.789754 s:  invalidAccessCount: 0
    [MCU2_0]     37.789790 s:  invalidSpCount: 0
    [MCU2_0]     37.789828 s:  strmFIFOOvflCount[0]: 0
    [MCU2_0]     37.789959 s:  Channel Num | Frame Queue Count | Frame De-queue Count | Frame Drop Count | Error Frame Count |
    [MCU2_0]     37.816343 s: ISS: De-initializing sensor [IMX390-UB953_D3] ... !
    [MCU2_0]     37.816439 s: ISS: De-initializing sensor [IMX390-UB953_D3] ... Done !!!
    [MCU2_0]     37.816485 s: A: Run ... Done !!!