element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
Software Application Development Changing ROI window P1300C
  • 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 Not Answered
  • Replies 0 replies
  • Subscribers 309 subscribers
  • Views 175 views
  • Users 0 members are here
Related

Changing ROI window P1300C

kcox@sgss.com
kcox@sgss.com over 7 years ago

NOTE: My images are not showing up (they do when I edit the post, just not when I preview or save).  This is extremely frustrating...  

Image No Movement:

Fullscreen contentimage_85395.html Download
<html><head><title>Jive SBS</title></head>
<body><font face="arial,helvetica,sans-serif">
<b>Error</b><br><font size="-1">
An general error occurred while processing your request.
</font></font></body></html>

Image with Movement:

Fullscreen contentimage_85396.html Download
<html><head><title>Jive SBS</title></head>
<body><font face="arial,helvetica,sans-serif">
<b>Error</b><br><font size="-1">
An general error occurred while processing your request.
</font></font></body></html>

I am trying to change the size of the ROI for my P1300C from 1280x1024 to 256x256.  I have modified the Avnet reference design, removing all the HDMI/TPG stuff and have a simple video pipeline that includes the onsemicam->vid2axi->cfa->rgb2ycrcb->cresa->vdma.  These images were copied from the output of the VDMA core into system memory.  1280 by 1024 with an integration time of 10ms and frame time of 500 ms works great.  When I change the ROI to 256x256 I get the above results.  To do this requires changes in qite a few places.  For the video pipeline I had to add an AXI interface to many of the IP cores and then use the drivers to change the active size parameters (hsize/vsize) used by the core.  The register values on the core had to be changed as well mainly 256-258,  Also the Avnet cam registers HTIMING1 and VTIMING1 and also SYNCGEN?  I'm not sure what SYNCGEN does yet.  I've not modified any of the clock sources.

I believe the artifacts above are more related to exposure timing.  Cam in global shutter mode with frame mode set to 1 and the frame length set to 500 ms (mult timer set to 10 us).  You can see from the images artifacts only occur where there is movement and they seem to fall along boundaries (notice the vertical columns).  Any ideas?

 

Here's some the register changes from the original reference design:

py reg[192]:0x2801
py reg[193]:0x0
py reg[194]:0x224
py reg[195]:0x1
py reg[196]:0x0
py reg[197]:0x205
py reg[198]:0x0
py reg[199]:0x10E
py reg[200]:0xC34F
py reg[201]:0x3E7
py reg[202]:0x0
py reg[203]:0x0
py reg[206]:0x37F
py reg[228]:0x1
py reg[242]:0x0
py reg[243]:0x0
py reg[253]:0x0
py reg[254]:0x0
py reg[255]:0x0
py reg[256]:0x1F00
py reg[257]:0x0
py reg[258]:0xFF
py reg[259]:0x9F00
py reg[260]:0x0
py reg[261]:0x3FF
 
Kevin
  • Sign in to reply
  • 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