Arducam EK017 UC-980 slower frame rate and image flip vs UC-391

Hi, I’m working with the EK017 (UC-980) USB camera evaluation kit and I’m seeing some odd behavior compared to the older adapter board I was using before.

Setup is the AR1820 18MP sensor. I’ve got two adapter boards here:

  • older: UC-391 Rev.E + UC-549 Rev.C camera
  • newer: UC-980 Rev.B + UC-549 Rev.C camera

With the new UC-980 Rev.B board the frame rate is noticeably slower, and when I tried one of the 4-lane configs the image came out vertically flipped (upside down). Not sure if I’m using the wrong cfg file or if something else is going on.

Sensor side is 4912x3684, RAW10, 8-bit, AR1820. Any pointer on which cfg I should actually be loading for UC-980 Rev.B?

Hi, welcome. Let’s dig into this. Two quick things so I can compare properly:

  1. Which cfg file are you using with each board?
  2. What frame rate are you actually measuring in each case?

Also just to confirm — same camera module (UC-549 Rev.C) on both setups, right? Only the adapter board changes between your two tests?

Yes, same camera (UC-549 Rev.C) both times, only the adapter board differs.

Here’s what I measured:

Old setup: UC-549 Rev.C + UC-391 Rev.E

  • cfg: AR1820_MIPI_2Lane_RAW10_8b_4912x3684_2fps.cfg
  • result: 2fps

New setup: UC-549 Rev.C + UC-980 Rev.B

  • cfg a: AR1820_MIPI_2Lane_RAW10_8b_4912x3684_80MHz_1fps.cfg => 1~2fps, slower than the old board
  • cfg b: AR1820_MIPI_4Lane_RAW10_8b_4912x3684_80MHz_2fps.cfg => vertical flip (up/down inversion), only 0~1fps, even slower than cfg a

So basically both configs on UC-980 Rev.B are slower than the 2fps I got on UC-391 Rev.E, and the 4-lane one flips the image.

That matches what we’d expect from the two boards, and it mostly comes down to the board design.

UC-980 Rev.B uses a different FPGA chip than UC-391 Rev.E. Because of that it has a smaller cache and a lower MIPI IO support rate. To stay within those limits the config reduces the PLL and uses the UC-980 Rev.B HTS/VTS values, which lowers the achievable frame rate. So yes — UC-980 Rev.B being slower than UC-391 Rev.E is normal, not a fault in your unit.

For your first question: for UC-980 Rev.B the AR1820 config has been updated (4912x3684, both 2-lane and 4-lane). The 80MHz 1fps-style config is the right family to use with that board.

OK that makes sense, so the slower speed is just the hardware difference, not something I mis-configured. Good to know.

Two follow-ups though:

  1. Should I strictly use AR1820_MIPI_2Lane_RAW10_8b_4912x3684_80MHz_1fps.cfg for UC-980 Rev.B?
  2. The 4-lane config flips the image vertically — is that a config problem or is that expected too? Can I fix the inversion?
  1. Yes, for UC-980 Rev.B the updated AR1820 config set (4912x3684, 2-lane/4-lane) is what you want. The 2-lane 80MHz 1fps file is a valid choice for that board.

  2. The 4-lane 4912x3684 and the 2-lane 4912x3684 configs are essentially identical apart from one axis — the orientation differs. That’s why you get the up/down inversion with the 4-lane file. You can correct it by applying both a horizontal and a vertical flip. That’s a config/orientation thing, not damage or a defect.

Keep in mind that even after fixing the orientation, UC-980 Rev.B won’t hit the same fps as UC-391 Rev.E — that ceiling is set by the FPGA and the reduced PLL.

Got it. So the vertical flip is just orientation between the 2-lane and 4-lane configs, and I correct it with a horizontal + vertical flip. That’s easy enough.

Last thing — if I really need a higher frame rate at 4912x3684, is there any config you already have, or does that require custom work?

If you genuinely need more than what UC-980 Rev.B gives at that resolution, the config has to be specially debugged and optimized — there isn’t a drop-in higher-fps file for that board at 4912x3684. The default ceiling you’re seeing is the normal consequence of the smaller cache and lower MIPI IO rate on that FPGA.

So to summarize where we landed:

  • UC-980 Rev.B is slower than UC-391 Rev.E by design (different FPGA → smaller cache + lower MIPI IO rate → lower PLL/HTS/VTS → lower fps). Not a fault.
  • The updated AR1820 config files (4912x3684, 2-lane/4-lane) cover both adapter boards.
  • 4-lane 4912x3684 differs from 2-lane 4912x3684 on one axis only, so apply horizontal + vertical flip to fix the up/down inversion.
  • A faster frame rate would need custom debugging/optimization.

Perfect, that clears it up. Can you point me at the updated config files for both boards so I’m pulling the right ones?

Sure — here are the updated AR1820 config files:

UC-391 Rev.E:

UC-980 Rev.B:

Note that UC-980 Rev.B is also referred to as the ‘2fps’ board. Grab the matching board folder, pick the lane count/resolution you need, and remember the flip fix for the 4-lane file.

Bottom line: the slower speed on UC-980 Rev.B vs UC-391 Rev.E is expected due to the FPGA change, the flip is just orientation, and anything faster at 4912x3684 would need a dedicated config optimization.