IMX678 DOL HDR 2 lineto 1 mode image abnormal

Hi Everyone,

we are using sony IMX678 on a hisilicon soc and met image issues. I am wondering if anyone can give any suggestions.

We used IMX678 DOL-HDR with 2 line to 1 mode on hi3559V200 and the image is abnormal as below.

the sensor has been brought up but image is wrong. we tried 2 frames to 1 and it works normal.

The log is as below. Since the values are all zero, it seemed the lanes are correct but image just can’t get right.

Huawei LiteOS # cat /proc/umap/ cat /proc/umap/mipi_rx
cat [FILE]

Huawei LiteOS # cat /proc/umap/mipi_rx

Huawei LiteOS #
Module: [MIPI_RX], Build Time[Jan 8 2021, 19:48:04]

-----MIPI LANE DIVIDE MODE---------------------------------------------------------------------------------------------
MODE LANE DIVIDE
0 4

-----MIPI DEV ATTR-----------------------------------------------------------------------------------------------------
Devno WorkMode DataRate DataType WDRMode ImgX ImgY ImgW ImgH
0 MIPI X1 RAW12 VC 0 0 3840 2160

-----MIPI LANE INFO-----------------------------------------------------------------------------------------------------
Devno LaneID
0 0, 1, 2, 3

-----MIPI PHY DATA INFO------------------------------------------------------
PhyId LaneId PhyData MipiData LvdsData
0 0, 1, 2, 3, 0xc3,0xfe,0xc2,0x83 0x93,0x0c,0x0d,0x8c 0x30,0xfa,0xb4,0xa0

-----MIPI DETECT INFO----------------------------------------------------
Devno VC width height
0 0 3840 2160
0 1 3840 2160
0 2 0 0
0 3 0 0

-----PHY CIL ERR INT INFO---------------------------------------------
PhyId Clk2TmOut ClkTmOut Lane0TmOut Lane1TmOut Lane2TmOut Lane3TmOut Clk2Esc ClkEsc Lane0Esc Lane1Esc Lane2Esc Lane3Esc
0 0 0 0 0 0 0 0 0 0 0 0 0

-----MIPI ERROR INT INFO 1-----------------------------------------------------------
Devno Ecc2 Vc0CRC Vc1CRC Vc2CRC Vc3CRC Vc0EccCorrct Vc1EccCorrct Vc2EccCorrct Vc3EccCorrct
0 0 0 0 0 0 0 0 0 0

-----MIPI ERROR INT INFO 2-----------------------------------------------------------
Devno Vc0Dt Vc1Dt Vc2Dt Vc3Dt Vc0FrmCrc Vc1FrmCrc Vc2FrmCrc Vc3FrmCrc
0 0 0 0 0 0 0 0 0

-----MIPI ERROR INT INFO 3-----------------------------------------------------------
Devno Vc0FrmSeq Vc1FrmSeq Vc2FrmSeq Vc3FrmSeq Vc0BndryMt Vc1BndryMt Vc2BndryMt Vc3BndryMt
0 0 0 0 0 0 0 0 0

-----MIPI ERROR INT INFO 4-----------------------------------------------------------
Devno DataFifoRdErr CmdFifoRdErr CmdFifoWrErr DataFifoWrErr
0 0 0 0 0

-----ALIGN ERROR INT INFO--------------------------------------
Devno FIFO_FullErr Lane0Err Lane1Err Lane2Err Lane3Err
0 0 0 0 0 0

Hi @ideastorm and welcome to the NVIDIA developer forums.

Can you give a bit more context here? To which NVIDIA HW are you trying to integrate the IMX678?

Hi Markus,thank you very much for your attention to our bug issue :-))

The hardware we are using is not Nvidia but Hisilicon Hi3559V200. We can’t find resourceful help in China so I am trying my luck here.

So hisilicon provide 2 kinds of WDR. One is 2 frame to 1 and we have worked it out. But ISP suggested such mode will cause moving shadows. He suggested using 2to1_LINE WDR mode. But our system engineer met image issue as I showed above.

The linear mode also works fine.

We are wondering if anybody know if IMX678 supports 2to1_line mode?

Just to clarify.

These are NVIDIA developer forums. If your HW issue is related to the NVIDIA Jetson platform, then we have a lot of experts that are able to help.

But it is very unlikely that you find discussions on unrelated third-party Hardware manufacturers.

You can try to search for “IMX678” and you might find developers using that module on a Jetson board.

Maybe that helps.

Thanks for your reply and I am sorry for the disturb.

I checked all posts about IMX678 and did not find if it supports 2to1 Line mode.

We would appreciate it a lot if anybody has experience with IMX678 DOL HDR with 2to1 line mode.