will chen Posted May 3, 2021 Share Posted May 3, 2021 Hi Digilent, I'm trying to build a pcam5c driver to nxp board, and now i'd success to get the chip id. And I keep following the power up/reset steps in datasheet , but i still can not bring up the mipi data-lane my question is that "How To Setting The Register in step 9 & 10", could you give some suggestion, or any examples!? Execute a power-cycle by applying a low pulse of 100ms on CAM_PWUP, then driving it high. Wait for 50ms. Read sensor ID from registers 0x300A and 0x300B and check against 0x56 and 0x40, respectively. Choose system input clock from pad by writing 0x11 to register address 0x3103. Execute software reset by writing 0x82 to register address 0x3008. Wait for 10ms. De-assert reset and enable power down until configuration is done by writing 0x42 to register address 0x3008. Choose system input clock from PLL by writing 0x03 to register address 0x3103. Set PLL registers for desired MIPI data rate and sensor timing (frame rate). Set imaging configuration registers. Enable MIPI interface by writing either 0x45 for two-lane mode or 0x25 for one-lane mode to register address 0x300E. Let MIPI clock free-run, and force LP11 when no packet transmission by writing 0x14 to register address 0x4800. Set output format to RAW10 by writing 0x00 to register address 0x4300 and 0x03 to register address 0x501F. Wake up sensor by writing 0x02 to register address 0x3800. Thanks! Link to comment Share on other sites More sharing options...
JColvin Posted May 4, 2021 Share Posted May 4, 2021 Hi @will chen, I don't believe anybody at Digilent has used the NXP board so I don't have specific help to offer on that side of things, but I would probably recommend taking a look at what Digilent did for our Pcam 5C demo, https://github.com/Digilent/Zybo-Z7-20-pcam-5c. Thanks, JColvin Link to comment Share on other sites More sharing options...
will chen Posted May 6, 2021 Author Share Posted May 6, 2021 Hi @JColvin, thanks for your reply! I follow up the demo code, and success to bring up the data signal, and it seems fine! (change camera mode to MODE_1080P_1920_1080_30fps, and the data signal got change too) But the clock-lane still not work, have you meet similiar issue before? Is there any step I missed? Note that clock-lane have a pulse at beginning, but no more signal after that... Link to comment Share on other sites More sharing options...
will chen Posted May 19, 2021 Author Share Posted May 19, 2021 I'm following the ov5640 datasheet and change the reg 0x4800 from 0x14 to 0x24, and found clock signal will keep sending but still can not found data... Link to comment Share on other sites More sharing options...
Question
will chen
Hi Digilent,
I'm trying to build a pcam5c driver to nxp board, and now i'd success to get the chip id.
And I keep following the power up/reset steps in datasheet , but i still can not bring up the mipi data-lane
my question is that "How To Setting The Register in step 9 & 10", could you give some suggestion, or any examples!?
Thanks!
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.