Skip to main content
chaitanya
Associate II
Dec 10, 2014 5:40 AM UTC
Question

Internal SRAM write and read back problem

Posted on December 10, 2014 at 06:40

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
This topic has been closed for replies.

11 replies

chaitanya
chaitanyaAuthor
Associate II
Dec 18, 2014 4:56 PM UTC
Posted on December 18, 2014 at 17:56

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... :)