mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Mostly cosmetic updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4980 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -508,12 +508,12 @@ I purchased an LCD display on eBay from china. The LCD is 320x240 RGB565 and
|
|||||||
is based on an SSD1289 LCD controller and an XPT2046 touch IC. The pin out
|
is based on an SSD1289 LCD controller and an XPT2046 touch IC. The pin out
|
||||||
from the 2x16 connect on the LCD is labeled as follows:
|
from the 2x16 connect on the LCD is labeled as follows:
|
||||||
|
|
||||||
LCD CONNECTOR: SSD1289 MPU INTERFACE PINS
|
LCD CONNECTOR: SSD1289 MPU INTERFACE PINS:
|
||||||
|
|
||||||
+------+------+ DEN I Display enble pin
|
+------+------+ DEN I Display enable pin
|
||||||
1 | GND | 3V3 | 2 VSYNC I Frame synchonrization signal
|
1 | GND | 3V3 | 2 VSYNC I Frame synchronization signal
|
||||||
+------+------+ HSYNC I Line synchroniziation signal
|
+------+------+ HSYNC I Line synchronization signal
|
||||||
3 | D1 | D0 | 4 DOTCLIK I Dot clock ans OSC source
|
3 | D1 | D0 | 4 DOTCLK I Dot clock and OSC source
|
||||||
+------+------+ DC I Data or command
|
+------+------+ DC I Data or command
|
||||||
5 | D3 | D2 | 6 E (~RD) I Enable/Read strobe
|
5 | D3 | D2 | 6 E (~RD) I Enable/Read strobe
|
||||||
+------+------+ R (~WR) I Read/Write strobe
|
+------+------+ R (~WR) I Read/Write strobe
|
||||||
@@ -531,12 +531,12 @@ LCD CONNECTOR: SSD1289 MPU INTERFACE PINS
|
|||||||
+------+------+
|
+------+------+
|
||||||
19 | RS | CS | 20
|
19 | RS | CS | 20
|
||||||
+------+------+
|
+------+------+
|
||||||
21 | RD | WR | 22
|
21 | RD | WR | 22 NOTES:
|
||||||
+------+------+
|
+------+------+
|
||||||
23 |EL_CNT|RESET | 24
|
23 |BL_CNT|RESET | 24 BL_CNT is the PWM backlight level control.
|
||||||
+------+------+
|
|
||||||
25 |TP_RQ |TP_S0 | 26 These pins are for the touch panel
|
|
||||||
+------+------+
|
+------+------+
|
||||||
|
25 |TP_RQ |TP_S0 | 26 These pins are for the touch panel: TP_REQ
|
||||||
|
+------+------+ TP_S0, TP_SI, TP_SCX, and TP_CS
|
||||||
27 | NC |TP_SI | 28
|
27 | NC |TP_SI | 28
|
||||||
+------+------+
|
+------+------+
|
||||||
29 | NC |TP_SCX| 30
|
29 | NC |TP_SCX| 30
|
||||||
@@ -546,9 +546,9 @@ LCD CONNECTOR: SSD1289 MPU INTERFACE PINS
|
|||||||
|
|
||||||
MAPPING TO STM32 F4:
|
MAPPING TO STM32 F4:
|
||||||
|
|
||||||
---------------- ------------- ----------------------------------
|
---------------- -------------- ----------------------------------
|
||||||
STM32 FUNCTION LCD PIN STM32F4Discovery PIN
|
STM32 FUNCTION LCD PIN STM32F4Discovery PIN
|
||||||
---------------- ------------- ----------------------------------
|
---------------- -------------- ----------------------------------
|
||||||
FSMC_D0 D0 pin 4 PD14 P1 pin 46 Conflict (Note 1)
|
FSMC_D0 D0 pin 4 PD14 P1 pin 46 Conflict (Note 1)
|
||||||
FSMC_D1 D1 pin 3 PD15 P1 pin 47 Conflict (Note 2)
|
FSMC_D1 D1 pin 3 PD15 P1 pin 47 Conflict (Note 2)
|
||||||
FSMC_D2 D2 pin 6 PD0 P2 pin 36 Free I/O
|
FSMC_D2 D2 pin 6 PD0 P2 pin 36 Free I/O
|
||||||
@@ -570,7 +570,8 @@ MAPPING TO STM32 F4:
|
|||||||
FSMC_NWE ~WR pin 22 PD5 P2 pin 29 Conflict (Note 3)
|
FSMC_NWE ~WR pin 22 PD5 P2 pin 29 Conflict (Note 3)
|
||||||
FSMC_NOE ~RD pin 21 PD4 P2 pin 32 Conflict (Note 4)
|
FSMC_NOE ~RD pin 21 PD4 P2 pin 32 Conflict (Note 4)
|
||||||
PC6 RESET pin 24 PC6 P2 pin 47 Free I/O
|
PC6 RESET pin 24 PC6 P2 pin 47 Free I/O
|
||||||
---------------- ------------- ----------------------------------
|
Timer ouput BL_CNT pin 23 (to be determined)
|
||||||
|
---------------- -------------- ----------------------------------
|
||||||
|
|
||||||
1 Used for the RED LED
|
1 Used for the RED LED
|
||||||
2 Used for the BLUE LED
|
2 Used for the BLUE LED
|
||||||
|
|||||||
Reference in New Issue
Block a user