-
Notifications
You must be signed in to change notification settings - Fork 11
/
README
64 lines (44 loc) · 2.14 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
*****************************************************************************
** STM32F4 Discovery GLCD UI WavePlayer Demo **
*****************************************************************************
The demo shows how to use a 2.4" LCD with the STM32F4-Discovery board. Also
included is a small GUI Library I implemented using the touch panel.
Demo Applications called by menus include:
- 3 RGB Test Patterns
- A simple 'doodle application' - that lets you draw on the screen
- Wave Player
The end result of my exercise will be to design a full-fledged mp3 audio player
with all bells and whistles!
NOTES:
The LCD I use is this one:
http://www.ebay.com/itm/2-4-TFT-LCD-Module-Display-Touch-Panel-PCB-adapter-/190477028273?pt=LH_DefaultDomain_0&hash=item2c5950cbb1
It uses a 'new' S6D1121 controller, unlike the earlier ILI9325 variant.
You will have to close jumper J3 (IM0) on the back of module PCB to enable 16-bit mode.
The LCD is bitbanged and connected to the following pins:
CS PD7
RST PD10
RS PD11
WR PD8
RD PD9
DB[0:3] PD[0:3]
DB[4:15] PE[4:15]
This code runs on ChibiOS 2.4.1
The UI & Text Rendering code of my library is based on the UI framework provided on this
website: http://reifel.org/PICUserInterface/ . I wrote it two years ago for
my AVR development platform.
It also uses Chan's xprintf library.
I wrote my own implementation for controlling the onboard CS43L22 DAC and sending data to it via DMA.
The source files are self-explanatory.
You will have to change the ChibiOS path in the makefile.
For screenshots visit:
http://imageshack.us/photo/my-images/844/dsc01768qf.jpg/
http://imageshack.us/photo/my-images/818/dsc01779t.jpg/
http://imageshack.us/photo/my-images/855/dsc01829w.jpg/
http://imageshack.us/photo/my-images/837/dsc01775tt.jpg/
http://imageshack.us/photo/my-images/7/image2mb.jpg/
http://imageshack.us/photo/my-images/7/image1als.jpg/
http://imageshack.us/photo/my-images/41/dsc01788ql.jpg/
http://imageshack.us/photo/my-images/259/dsc01786i.jpg/
http://imageshack.us/photo/my-images/198/dsc01784m.jpg/
Cheers!
Abhishek