This is really neat!
The samples are really well done and compile easily, and that makes me happy!
I followed the user manual that came with the add-on boards: "DM-STF4BB User Manual".
The first thing I did was to hook up the display. That was very easy. The display comes with the ribbon cable and just plugs straight onto the base board.
The only thing to keep in mind is that the docs don't mention how to hook up the cable. From my way-back days I remembered red=pin1, and the connectors on both boards are marked with a little triangle - just make sure the red line is closest to the triangles on both sides.
I haven't tried the touch part yet, but this is a picture of it running the display demo:
That went so well I thought I'd try the camera next!
I hooked up the little thin cable that comes with it, making sure that the triangles match up as before.
But oh no! what's this??
Turns out that I had the connector cable upside-down. The shiny bits of the connecting ends need to be towards the board. That's something the docs could use a tweak on too, methinks. Maybe a picture. I like pictures
So this is the wrong way:
The other thing that was unclear was that the docs said to make sure JP1 and JP2 are not fitted. They meant JP1 and JP2 on the base board, not on the main STM32F4 board... oops.
And here is the camera working! The display shows what the camera sees
Apparently it's supposed to take a picture and store it to the SD card when the blue button is pressed, but for me it seemed to hang. I'm not sure if that's because it's slow to write to the card, or if my Lexar card is not compatible. I'll have to run some SD card samples some time soon.
Top Comments