SPRAD48 July   2022 TDA4VM

 

  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

Multi Camera VPAC Application Demo

  • The demo application runs on powerON and images can seen on the eDP/HDMI display simultaneously from all four cameras.
  • The images are such that the camera streams 1000 frames at 30FPS.
  • 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.770976 s: ISS: Enumerating sensors ... found 0 : IMX390-UB953_D3
    [MCU2_0]     17.771043 s: ISS: Enumerating sensors ... found 1 : AR0233-U53_MARS
    [MCU2_0]     17.771096 s: ISS: Enumerating sensors ... found 2 : AR0820-UB953_LI
    [MCU2_0]     17.771138 s: ISS: Enumerating sensors ... found 3 : UB9xxx_RAW12_TESTPATTERN
    [MCU2_0]     17.771184 s: ISS: Enumerating sensors ... found : UB96x_UYVY_TESTPATTERN
    [MCU2_0]     17.771227 s: ISS: Enumerating sensors ... found 5 : GW_AR0233_UYVY
    [MCU2_0]     17.771291 s: Sensor selected : IMX390-UB953_D3
    [MCU2_0]     17.771338 s: Sensor selected : IMX390-UB953_D3
    [MCU2_0]     17.771376 s: Querying IMX390-UB953_D3 
    [MCU2_0]     17.771410 s: ISS: Querying sensor [IMX390-UB953_D3] ... !!!
    [MCU2_0]     17.771463 s: ISS: Querying sensor [IMX390-UB953_D3] ... Done !!!
    [MCU2_0]     17.779416 s: ISS: Initializing seor [IMX390-UB953_D3], doing IM_SENSOR_CMD_PWRON ... !!!
    [MCU2_0]     17.779529 s: IMX390_PowerOn : chId = 0x0 
    [MCU2_0]     17.779581 s: IMX390_PowerOn : chId = 0x1 
    [MCU2_0]     17.779624 s: IMX390_PowerOn : chId = 0x2
    [MCU2_0]     17.779681 s: IMX390_PowerOn : chId = 0x3 
    [MCU2_0]     17.785656 s: ISS: Initializing sensor [IMX390-UB953_D3], doing IM_SENSOR_CMD_CONFIG ... !!!
    [MCU2_0]     18.679831 s: Configuring IMX390 imager 0x40.. Please wait till it finishes 
    [MCU2_0]     21.167830 s: Configuring IMX390 imager 0x42.. Please wait till it finishes 
    [MCU2_0]     23.690829 s: Configuring IMX390 imager 0x44.. Please wait till it finishes 
    [MCU2_0]     25.680819 s: Configuring IMX390 imager 0x46.. Please wait till it finishes 
    [MCU2_0]     25.808702 s: ISS: Initializing sensor [IMX390-UB953_D3] ... Done !!!
    [MCU2_0]     26.098699 s: ISS: Starting sensor [IMX390-UB953_D3] ... !!!
    [MCU2_0]     26.736791 s: ISS: Starting sensor [IMX390-UB953_D3] ... Done!!!
    [MCU2_0]     26.780889 s: IMX390_GetWBPrgFxn: sensor_pre_gain = 0 
    [MCU2_0]     26.786111 s: IMX390_GetWBPrgFxn: sensor_pre_gain = 0 
    [MCU2_0]     26.786264 s: IMX390_GetWBPrgFxn: sensor_pre_gain = 0 
    [MCU2_0]     43.576561 s: ISS: Stopping sensor [IMX3-UB953_D3] ... !!!
    [MCU2_0]     43.702792 s: ISS: Stopping sensor [IMX390-UB953_D3] ... Done !!!
    [MCU2_0]     43.739768 s: ========================================================
    [MCU2_0]     43.739866 s:  Capture Status: Instance|0
    [MCU2_0]     43.739906 s: ==========================================================
    [MCU2_0]     43.739959 s:  overflowunt: 0
    [MCU2_0]     43.740039 s:  frontFIFOOvflCount: 0t: 0
    [MCU2_0]     43.740075 s:  crcCount: 1
    [MCU2_0]     43.740109 s:  eccCount0
    [MCU2_0]     43.740145 s:  correctedEccCount: 0
    [MCU2_0]     43.740184 s:  dataIdErrorCount: 0
    [MCU2_0]     43.740222 s:  invalidAccessCount: 0
    [MCU2_0]     43.740261 s:  invalidSpunt: 0
    [MCU2_0]     43.740305 s:  strmFIFOOvflCount[0]: 0
    [MCU2_0]     43.740340 s:  Channel Num | Frame Queue Count | Fme De-queue Count | Frame Drop Count | Error Frame Count |
    [MCU2_0]     43.740429 s:            0 |              1002 |               1002 |               10 |                 0 |
    [MCU2_0]     43.740513 s:            1 |              1002 |               1002 |               11 |                 0 |
    [MCU2_0]     43.740598 s:            2 |              1002 |               1002 |               11 |                 0 |
    [MCU2_0]     43.740614 s:            3 |              1002 |               1002 |               11 |                 0 |
    [MCU2_0]     43.744977 s: ISS: De-initializing sensor [IMX390-UB953_D3] . !!!
    [MCU2_0]     43.745076 s: ISS: De-initializing sensor MX390-UB953_D3] ... Done !!!
    [MCU2_0]     43.785372 s: APP: n ... Done !!!