element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Ultrazed Hardware Design FPS problem with FMC-MULTI-CAM4
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 7 replies
  • Answers 1 answer
  • Subscribers 325 subscribers
  • Views 1169 views
  • Users 0 members are here
Related

FPS problem with FMC-MULTI-CAM4

prornetheus
prornetheus over 6 years ago

Hello,

 

I'm using FMC-MULTI-CAM4 for camera input,

but it scores only 25.5 frames per second

 

in max9286_serdes.h, PCLK per frame setted to 88MHz for 30fps and could go up to 99MHz

if I set the PCLK per frame to 99MHz, the camera input could achieve 30fps?

 

regards, hanseung.

  • Sign in to reply
  • Cancel
Parents
  • albertabeef
    0 albertabeef over 6 years ago

    Hanseung,

    If you increase the PCLK, you will probably saturate the data rate on the GMSL link.

    In order to achieve a higher frame rate, I would recommend to reduce the vertical blanking period.

    Regards,

    Mario.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • prornetheus
    0 prornetheus over 6 years ago in reply to albertabeef

    Dear Mario,

     

    I could't find a variable named like "vertical blanking period" under :

    1. zcu102-rv-mc4-bsp/build/tmp/work-shared/zcu102-zynqmp/kernel-source/drivers/media/i2c/avt_multi_sensor_fmc/

    2. recipes-apps/video-qt2/files/src/video_lib/src/vcap_gmsl.c

     

    Where can I find it and modify it?

     

    In addition, My local FPGA 3rd party vendor recommended settings for AR0231 to achieve 32FPS

    I cannot be sure that setting these values to 9286 SERDES will achieve 32fps.

     

    //

    Target System Frequency: 80 MHz

    Input Clock Frequency: 27 MHz

     

    pll_refdiv = 5

    pll_fbdiv = 237

    pll_postdiv1 = 7

    pll_postdiv2 = 7

    hsdp clock = 159.98 MHz

    txss clock = 79.99 MHz

     

    External sensor core dividers:

    fb div (m) = 160

    ref div (n)= 9

    post div 1 (p1) = 1

    post div 2 (p2) = 6

    Sensor Pixel Clock: 80 MHz

     

    regards, Hanseung.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • albertabeef
    0 albertabeef over 6 years ago in reply to prornetheus

    Hanseung,

    These settings are not available at the application level.

    You would need to modify the Linux kernel driver.

     

    If you really want to make these changes, I would recommend to start working with the "bare metal" factory test design.

    This design does not display the image on the monitor, but validates the capture pipelines up to the MIPI RX core.

     

     

    Regards,

     

    Mario.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • albertabeef
    0 albertabeef over 6 years ago in reply to prornetheus

    Hanseung,

    These settings are not available at the application level.

    You would need to modify the Linux kernel driver.

     

    If you really want to make these changes, I would recommend to start working with the "bare metal" factory test design.

    This design does not display the image on the monitor, but validates the capture pipelines up to the MIPI RX core.

     

     

    Regards,

     

    Mario.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • prornetheus
    0 prornetheus over 6 years ago in reply to albertabeef

    Mario,

     

    I understand that I need to modify the kernel driver.

    Is AVNet developing a driver that enhances camera FPS? Or do you have a plan?

     

    I have not found a suitable way to change the vertical blanking period.

     

    Regards, Hanseung.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • albertabeef
    0 albertabeef over 5 years ago in reply to prornetheus

    Hanseung,

     

    Here is an updated version of the linux kernel patch for the multi-camera FMC.

       0031-add-avt-multi-sensor-fmc-driver-2018-3-1080p30-720p60.patch

       https://avtinc.sharepoint.com/:u:/t/ET-Downloads/ETs1QSOusQpGsE-06ZQgA4MB9V0QkiXZq2pUfJKQQK2MGg


    It contains modifications for the following:
    - fixed frame rate of 30fps for 1080P resolution (previous version was 25fps)
    - fixed frame rate of 60fps for 720P resolution (previous version was 25fps)
    - center-cropped image for 720P resolution (previous version was top-left cropped)

     

    This file needs to be put in the following location in the petalinux project:

        {petalinux bsp}/project-spec/meta-user/recipes-kernel/linux/linux-xlnx/

     

    Also, the following file needs to be modified:

        {petalinux bsp}/project-spec/meta-user/recipes-kernel/linux/linux-xlnx_%.bbappend

    Replace this line:

        file://0031-add-avt-multi-sensor-fmc-driver-2018.3.patch \

    With this line:

        file://0031-add-avt-multi-sensor-fmc-driver-2018-3-1080p30-720p60.patch \

     

    Regards,

     

    Mario.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube