1: Too cheap near bout Rs 1600.00 at kitsnspares .
2: speed is quite high up to 168Mhz.
3: Low power near about 38ma at 168Mhz.
4: Up to 192KB RAM .Note 64KB of those is CCM RAM .will be discussed in another tutorial
5: Cortex M4 core from ARM which is latest from M series(if you are thinking to run android then please consider some chips from Cortex A series.)
if you have ever worked with AVR you could imagine why i highlighted those numbers.
So lets start the main topic. in order to complete this tutorial you need some tools here are those.
Tools:
1 : CooCox Co IDE Free
2 : Discovery Board ~Rs1600
3 : USB cable Type A to Mini B ~Rs100
4 : Color LCD Board From ebay.in ~ Rs830
5 : STM32F4-Discovery_FW_V1.1.0 Free
6 : I have edited some files in libjpeg Download it from below
libjpgfor32f4.zip |
open IO_Toggle project from the examples projects in STM32F4-Discovery_FW_V1.1.0
there is a main.c file inside the libjpegfor324 .Exclude that from build by right clicking on it.
This file comes with libjpeg so avoid it.
Below is a jpeg file saved into an array you can copy that to main.c file