Title: MIPI error: err2: 0x00010000 [Print This Page] Author: JayCarlson Time: 10/6/2020 00:08 Title: MIPI error: err2: 0x00010000 Last edited by JayCarlson In 10/6/2020 00:29 Editor
I'm trying to get a custom MIPI camera solution going using an OV2740, but I can't get anything out of the ISP. My image sensor is configured for 1920x1080@10bit RAW, at 60 fps, 2 lanes, 400 MHz (800 Mbps) transfer rate. I've tested with 4 lanes at 200 MHz (400 Mbps) with the same problem. I've verified the correct number of lanes are outputting at the correct clock rate using an oscilloscope, so I know the PX30's MIPI PHY should be receiving data, but it seems completely dead.
[ 367.412254] ov2740 2-0030: __ov2740_stop_stream() called
[ 367.430933] ov2740 2-0030: ov2740_s_power() called
Copy the code
It doesn't matter if I use /dev/video0 or /dev/video1 (main path or self path). I get the same errors.
What should I be looking at to fix this? I looked at Part1 and Part2 of the TRM, but there doesn't appear to be any information about the MIPI D-PHY in it, so I don't know what error code 0x00010000 represents.
I'm using an HTS of 1928 and a VTS of 1088, though the original sample code I received had perplexing HTS/VTS values of 1080 and 1125, respectively. It seems like if it were a timing parameter issue, the ISP would report that, and/or give me a garbled image. Author: JayCarlson Time: 10/7/2020 04:57
I think maybe I was missing MIPI data for a bit while I was testing the other day. I'm now getting MIPI error: err2: 0x00030000. Same symptoms. I tried reducing my settings to 30 fps with a 400 Mbps (200 MHz) MIPI clock, but it's still not working.
Any ideas?
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)