I've been spending a lot of time in the past couple of weeks trying to
get a CMOS sensor integrated into the DM355 IPIPE code. WIth little to
no success.
There isn't any example user space application code that works (yet)
according to TI even for the MT9P001 drivers in the kernel. So I
borrowed one that was written for the 6446 (a previewer application that
took sensor data and ran it throught the 6446 previewer driver (and
equivilent to the 355 IPIPE?) and displayed it on the NTSC output DAC)
Is there anyone familiar with the DM355 IPIPE that I can ask questions of?
Like for example:
When I call the IPIPE driver the first time everything appears to
work (even though the resultant image is junk), but the second call
get's stuck in the dm355_ipipe.c code:
regw_ip(0xff, IRQ_EN);
while(1){
printk("ipen ");
utemp = regr_ip(IPIPE_EN);
if(utemp == 0) break;
}
To get past this I can to comment out the while loop (and there is
another one just after it too that hangs).
Reading the IPIPE spec seems to indicate that putting the IPIPE in
continuous streaming mode will not toggle the IPIPE_EN bit, so this
while will never complete. BUT putting it into one-shot mode doesn't
change anything either !
What I would really like to do to start is to capture a raw bayer frame
from the sensor. I have some conversion code that I can run externally
to see what it is that I'm getting to verify that the sensor is working
correctly.
I can provide more details if anyone is interested in helping...
Thanks,
Steve Berry
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source