Portenta H7 Custom OV5640 Board

Hi,

I’ve made a custom Portenta H7 shield. It’s pinned out similarly to the OpenMV Cam H7 Plus. I’m able to bring up the camera but I’m getting a split frame or horizontal wiping effect (see attachment). I’ve left the Portenta omv_boardconfig.h largely untouched from the upstream except for enabling the OV5640 and changing the DCMI_PWDN and DCMI_RESET pins. Any suggestions on things to look into to get rid of the wiping? I thought a clock setting somewhere might be to blame but so far nothing has worked.


Video

Thanks.

There’s an abandoned PR here to fix the OV5640 on Portenta, maybe you would want to pick it up from there and send it back once it’s working.

Thanks @iabdalkader, that’s exactly what I was looking for. I’ll give that a shot and report back. Thanks.

Yeah, there’s some pin mapping issues here. Need to fix it.

Thanks a lot @iabdalkader and @kwagyeman, using that pull request as a reference I was able to get things up and running properly. I’ll try and clean it up a bit and make a pull request. Thanks again.