Elektrine lite

← Feed

@tnt@chaos.social

Post #1031334

2026-04-09 08:50 UTC

I need help from the #fediverse to figure out how to configure an OV5647 sensor to output on a single MIPI lane. The leaked datasheet I have is ... basically useless. The description of the registers doesn't match reality. There are several bits in there related to mipi lanes, none of them act as one expect and the default value of the register doesn't even make sense if you relate it to the datasheet. So if anyone has a working config, or a contact at omnivision they could ask ...

Replies (2)

  • @tnt@chaos.social 2026-04-09 19:43

    Thanks everyone, got it working ! Trick was to indeed use 0x3018[7:5] to select lane count except values is 010 for 2 lanes and 001 for 1 lane which is not what datasheet says. I had tried this (even with those values, I tried them all) but it's not enough. You also need to tweak the 0x3106[3:2] to adjust pixel clock vs mipi clock relationship. Without that the change above does disable lane 2 but it also screws up lane 1 and you don't even get packet headers. That's the bit I was missing.

    Open ##1601299

  • @teilweise@layer8.space 2026-04-09 09:31

    @tnt I cannot help you but just to clarify: You are talking about the OV5647 sensor this https://cdn.sparkfun.com/datasheets/Dev/RaspberryPi/ov5647_full.pdf datasheet is about? According to https://docs.arducam.com/Raspberry-Pi-Camera/Native-camera/5MP-OV5647/#image-sensor, there might be two versions: V1 (probably what the data sheet is about) and V2 which uses some kind of encryption (your problem?). Did you try to contact OVT? Sometimes asking companies for information yields surprising results.

    Open ##1601302