Freescale Semiconductor TWR-LCD-RGB Graphical LCD Module with RGB Interface TWR-LCD-RGB TWR-LCD-RGB Benutzerhandbuch
Produktcode
TWR-LCD-RGB
TWR-LCD-RGB User’s Manual
Page 10 of 13
Using IAR Embedded Workbench
1. Open IAR Embedded Workbench for ARM 6.40
2. Create a new workspace: File -> New -> Workspace
3. Create a new project within blank workspace: Project -> Create New Workspace
4. Tool chain: ARM, Project Template: Externally built executable
5. Save the resulting project (.ewp) to a desired location
6. Right-click the project and select Options
2. Create a new workspace: File -> New -> Workspace
3. Create a new project within blank workspace: Project -> Create New Workspace
4. Tool chain: ARM, Project Template: Externally built executable
5. Save the resulting project (.ewp) to a desired location
6. Right-click the project and select Options
o General Options: Under Processor variant select Device and choose Freescale -> K70
-> Freescale MK70FN1M0xxx12
o Debugger: Under the Setup tab, Select the PE Micro Driver
o Debugger: Under the Download tab, check the Use flash loader(s) option.
o Debugger: Under the Download tab, check the Use flash loader(s) option.
7. Add the .out file to the project: Project -> Add Files, navigate to the location of the .out file
and select Open (make sure the File Filter is set to All Files (*.*)
8. Save the resulting workspace (.eww) to a desired location using File -> Save Workspace As
9. Flash the project using Project -> Download and Debug
10. Run the resulting application using Debug -> Go
9. Flash the project using Project -> Download and Debug
10. Run the resulting application using Debug -> Go
5 Elevator Connections
The TWR-LCD features two 80-pin connectors that interface to the Side Expansion Ports on the
Secondary Elevator board in a Tower System. The Secondary Elevator Side Expansion Port connectors,
comprised of sides C and D, are utilized by the TWR-LCD-RGB. The table below provides the pinout for
the Secondary Elevator Connector. An “X” in the “Used” column indicated that there is a connection
from the TWR-LCD-RGB to that pin on the Elevator connector. An “X” in the “Jmp” column indicates
that a jumper is available that can configure or isolate the connection from the Elevator connector.
Secondary Elevator board in a Tower System. The Secondary Elevator Side Expansion Port connectors,
comprised of sides C and D, are utilized by the TWR-LCD-RGB. The table below provides the pinout for
the Secondary Elevator Connector. An “X” in the “Used” column indicated that there is a connection
from the TWR-LCD-RGB to that pin on the Elevator connector. An “X” in the “Jmp” column indicates
that a jumper is available that can configure or isolate the connection from the Elevator connector.
Table 5 - TWR-LCD-RGB Secondary Elevator Expansion Pinout
TWR-LCD-RGB Secondary Connector
Pin
Name
Usage
Used
Jmp Pin
Name
Usage
Used
Jmp
D1
5V
5.0V Power
X
C1
5V
5.0V Power
X
D2
GND
Ground
X
C2
GND
Ground
X
D3
3.3V
3.3V Power
X
C3
3.3V
3.3V Power
X
D4
ELE_PS_SENSE
Elevator Power Sense
C4
3.3V
3.3V Power
X
D5
GND
Ground
X
C5
GND
Ground
X
D6
GND
Ground
X
C6
GND
Ground
X
D7
SPI2_CLK
C7
SCL2
CRTOUCH SCL
X
D8
SPI2_CS1_b
C8
SDA2
CRTOUCH SDA
X
D9
SPI2_CS0_b
C9
GPIO25
RESET_IN_B
X
X
D10
SPI2_MOSI
C10
ULPI_STOP
D11
SPI2_MISO
C11
C11
D12
ETH_COL
C12
GPIO26
D13
ETH_RXER
C13
ETH_MDC