2014-12-09 09:40 PM
Hi, I've bought a STM32F4-Discovery board and trying to capture images from the camera. I'm trying to transfer the image to SRAM(112K) instead of LCD-RAM as given in the example code. After the data is read back from the SRAM and the image is seen, it just shows junk. I've checked the pins with a scope to ensure PIXCLK is running. I'm really unsure whether the camera data is being written into SRAM or not.
Can anyone help on this... #dcmi-sram-bmp #dcmi-sram-bmp
2014-12-17 11:28 AM
It seems like a mismatch between input and output resolution in X/Y. Clearly, there is some correlation between pixels, not a chaotic image.
2014-12-18 08:56 AM
found the problem... and a lot of thanks for help...
It was a grave mistake...As I'm not using the LCD, I was using the LEDs for indicating the status of configuration... Out of instinct... using green for success and red for failure... And see... Discovery board PD12 for both green LED and for Camera reset.... So... what i actually doing was configuring the camera and giving it reset..(thinking I'm just blinking the LED)... and the PIXCLK changes back to reset mode... the clock was out of sync with data and was just giving me some garbage image... I changed it... Now the pics are good... :)