Difference between revisions of "Hammer LCD 8bit Color STN"
Line 1: | Line 1: | ||
This page is to describe how to use the Panasonic EDMGRB8KJF ([[media:edmgrb8jf.pdf|Datasheet]]) available from [http://store.earthlcd.com/EDMGRB8KJF?sc=7&category=256 EarthLCD] with the [[Hammer_Board|Hammer]] development module from [[TinCanTools]] | This page is to describe how to use the Panasonic EDMGRB8KJF ([[media:edmgrb8jf.pdf|Datasheet]]) available from [http://store.earthlcd.com/EDMGRB8KJF?sc=7&category=256 EarthLCD] with the [[Hammer_Board|Hammer]] development module from [[TinCanTools]] | ||
+ | |||
+ | |||
+ | {|border="3" | ||
+ | |+Pinout with more explanations and links. | ||
+ | !Pin number||Main Function||Note||Alt Function||Note | ||
+ | |- | ||
+ | | 1||style="background:#80FF80" |RXD0 ||style="background:#80FF80" |RS232 Receive||style="background:#FFFF80" |GPH3||style="background:#FFFF80" |GPIO port H bit 3 | ||
+ | |- | ||
+ | | 2||style="background:#80FF80" |TXD0||style="background:#80FF80" |RS232 Transmit||style="background:#FFFF80" |GPH2||style="background:#FFFF80" |GPIO port H bit 2 | ||
+ | |- | ||
+ | | 3||style="background:#99FF00" |IICSDA||style="background:#99FF00" |I2C SDA [http://en.wikipedia.org/wiki/I2c Wikipedia explains I2C] ||style="background:#FFFF80" |GPE15||style="background:#FFFF80" |GPIO port E bit 15 | ||
+ | |- | ||
+ | | 4||style="background:#99FF00" |IICSCL||style="background:#99FF00" |I2C SCL||style="background:#FFFF80" |GPE14||style="background:#FFFF80" |GPIO port E bit 14 | ||
+ | |- | ||
+ | | 5||style="background:#FFAA00" |SPIMISO0||style="background:#FFAA00" |SPI port 0 MISO [http://en.wikipedia.org/wiki/Spi Wikipedia explains SPI]||style="background:#FFFF80" |GPE11||style="background:#FFFF80" |GPIO port E bit 11 | ||
+ | |- | ||
+ | | 6||style="background:#FFAA00" |SPIMOSI0||style="background:#FFAA00" |SPI port 0 MOSI||style="background:#FFFF80" |GPE12||style="background:#FFFF80" |GPIO port E bit 12 | ||
+ | |- | ||
+ | | 7||style="background:#FFAA00" |SPICLK0||style="background:#FFAA00" |SPI port 0 clock||style="background:#FFFF80" |GPE13||style="background:#FFFF80" |GPIO port E bit 13 | ||
+ | |- | ||
+ | | 8||style="background:#FFAA00" |nSS0||style="background:#FFAA00" |SPI port 0 select||style="background:#FF80FF" |EINT10||style="background:#FF80FF" |External Interrupt 10 (Wakeup capable?) | ||
+ | |- | ||
+ | |9||nRESET||CPU reset. | ||
+ | |- | ||
+ | |10||style="background:#80FF80" |nRTS0||style="background:#80FF80" |RS232 RTS (Ready to send)||style="background:#FFFF80" |GPH1||style="background:#FFFF80" |GPIO port H bit 1 | ||
+ | |- | ||
+ | |11||style="background:#80FF80" |nCTS0||style="background:#80FF80" |RS232 CTS (Clear to send)||style="background:#FFFF80" |GPH0||style="background:#FFFF80" |GPIO port H bit 0 | ||
+ | |- | ||
+ | |12||style="background:#2099FF" |TOUT0||style="background:#2099FF" |PWM timer 0 out||style="background:#FFFF80" |GPB0||style="background:#FFFF80" |GPIO port B bit 0 | ||
+ | |- | ||
+ | |13||style="background:#2099FF" |TOUT2||style="background:#2099FF" |PWM timer 2 out||style="background:#FFFF80" |GPB2||style="background:#FFFF80" |GPIO port B bit 2 | ||
+ | |- | ||
+ | |14||style="background:#80FF80" |RXD2||style="background:#80FF80" |RS232 port 2 receive (Note, Port 1 isn't accessible) ||style="background:#FFFF80" |GPH7||style="background:#FFFF80" |GPIO port H bit 7 | ||
+ | |- | ||
+ | |15||style="background:#80FF80" |TXD2||style="background:#80FF80" |RS232 port 2 transmit||style="background:#FFFF80" |GPH6||style="background:#FFFF80" |GPIO port H bit 6 | ||
+ | |- | ||
+ | |16||style="background:#FFFF40" |VM||style="background:#FFFF40" |LCD AC bias ||style="background:#FFFF80" |GPC4||style="background:#FFFF80" |GPIO port C bit 4 | ||
+ | |- | ||
+ | |17||style="background:#FFFF40" |VFRAME||style="background:#FFFF40" |LCD Vertical sync||style="background:#FFFF80" |GPC3||style="background:#FFFF80" |GPIO port C bit 3 | ||
+ | |- | ||
+ | |18||style="background:#FFFF40" |VLINE||style="background:#FFFF40" |LCD Horizontal sync||style="background:#FFFF80" |GPC2||style="background:#FFFF80" |GPIO port C bit 2 | ||
+ | |- | ||
+ | |19||style="background:#FFFF40" |VCLK||style="background:#FFFF40" |LCD pixel clock||style="background:#FFFF80" |GPC1||style="background:#FFFF80" |GPIO port C bit 1 | ||
+ | |- | ||
+ | |20||style="background:#8080FF" |GND||style="background:#8080FF" |Ground - supply voltage return. | ||
+ | |- | ||
+ | |21||style="background:#FFFF40" |LCD_VD0||style="background:#FFFF40" |LCD data bit 0||style="background:#FFFF80" |GPC8||style="background:#FFFF80" |GPIO port C bit 8 | ||
+ | |- | ||
+ | |22||style="background:#FFFF40" |LCD_VD1||style="background:#FFFF40" |LCD data bit 1||style="background:#FFFF80" |GPC9||style="background:#FFFF80" |GPIO port C bit 9 | ||
+ | |- | ||
+ | |23||style="background:#FFFF40" |LCD_VD2||style="background:#FFFF40" |LCD data bit 2||style="background:#FFFF80" |GPC10||style="background:#FFFF80" |GPIO port C bit 10 | ||
+ | |- | ||
+ | |24||style="background:#FFFF40" |LCD_VD3||style="background:#FFFF40" |LCD data bit 3||style="background:#FFFF80" |GPC11||style="background:#FFFF80" |GPIO port C bit 11 | ||
+ | |- | ||
+ | |25||style="background:#FFFF40" |LCD_VD4||style="background:#FFFF40" |LCD data bit 4||style="background:#FFFF80" |GPC12||style="background:#FFFF80" |GPIO port C bit 12 | ||
+ | |- | ||
+ | |26||style="background:#FFFF40" |LCD_VD5||style="background:#FFFF40" |LCD data bit 5||style="background:#FFFF80" |GPC13||style="background:#FFFF80" |GPIO port C bit 13 | ||
+ | |- | ||
+ | |27||style="background:#FFFF40" |LCD_VD6||style="background:#FFFF40" |LCD data bit 6||style="background:#FFFF80" |GPC14||style="background:#FFFF80" |GPIO port C bit 14 | ||
+ | |- | ||
+ | |28||style="background:#FFFF40" |LCD_VD7||style="background:#FFFF40" |LCD data bit 7||style="background:#FFFF80" |GPC15||style="background:#FFFF80" |GPIO port C bit 15 | ||
+ | |- | ||
+ | |29||style="background:#FF80FF" |EINT11||style="background:#FF80FF" |External interrupt 11||style="background:#AAA0FF" |nSS 1||style="background:#AAA0FF"| SPI port 1 select | ||
+ | |- | ||
+ | |30||style="background:#FF80FF" |EINT15||style="background:#FF80FF" |External interrupt 15||style="background:#AAA0FF" |SPICLK1||style="background:#AAA0FF" |SPI port 1 Clock | ||
+ | |- | ||
+ | |31||style="background:#FF80FF" |EINT14||style="background:#FF80FF" |External interrupt 14||style="background:#AAA0FF" |SPIMOSI1||style="background:#AAA0FF" |SPI port 1 MOSI | ||
+ | |- | ||
+ | |32||style="background:#FF80FF" |EINT13||style="background:#FF80FF" |External interrupt 13||style="background:#AAA0FF" |SPIMISO1||style="background:#AAA0FF" |SPI port 1 MISO | ||
+ | |- style="background:red" | ||
+ | |33|| AIN1||ADC input 1|| ||(Note - these ADCs are independant, and do not support differential mode) | ||
+ | |- style="background:red" | ||
+ | |34|| AIN0||ADC input 0 | ||
+ | |- style="background:#30FFFF" | ||
+ | |35|| DP1||USB 1 Slave + | ||
+ | |- style="background:#30FFFF" | ||
+ | |36|| DN1||USB 1 Slave - | ||
+ | |- style="background:#80FFFF" | ||
+ | |37|| DP0||USB 0 Host + | ||
+ | |- style="background:#80FFFF" | ||
+ | |38|| DN0||USB 0 Host - | ||
+ | |- style="background:#8080FF" | ||
+ | |39||+3.3VDC||Internal regulator output. Can supply 100mA(?) safely. Overloading this may cause irreparable damage. | ||
+ | |- style="background:#8080FF" | ||
+ | |40||+5V||5V input. | ||
+ | |} |
Revision as of 12:36, 3 March 2009
This page is to describe how to use the Panasonic EDMGRB8KJF (Datasheet) available from EarthLCD with the Hammer development module from TinCanTools
Pin number | Main Function | Note | Alt Function | Note |
---|---|---|---|---|
1 | RXD0 | RS232 Receive | GPH3 | GPIO port H bit 3 |
2 | TXD0 | RS232 Transmit | GPH2 | GPIO port H bit 2 |
3 | IICSDA | I2C SDA Wikipedia explains I2C | GPE15 | GPIO port E bit 15 |
4 | IICSCL | I2C SCL | GPE14 | GPIO port E bit 14 |
5 | SPIMISO0 | SPI port 0 MISO Wikipedia explains SPI | GPE11 | GPIO port E bit 11 |
6 | SPIMOSI0 | SPI port 0 MOSI | GPE12 | GPIO port E bit 12 |
7 | SPICLK0 | SPI port 0 clock | GPE13 | GPIO port E bit 13 |
8 | nSS0 | SPI port 0 select | EINT10 | External Interrupt 10 (Wakeup capable?) |
9 | nRESET | CPU reset. | ||
10 | nRTS0 | RS232 RTS (Ready to send) | GPH1 | GPIO port H bit 1 |
11 | nCTS0 | RS232 CTS (Clear to send) | GPH0 | GPIO port H bit 0 |
12 | TOUT0 | PWM timer 0 out | GPB0 | GPIO port B bit 0 |
13 | TOUT2 | PWM timer 2 out | GPB2 | GPIO port B bit 2 |
14 | RXD2 | RS232 port 2 receive (Note, Port 1 isn't accessible) | GPH7 | GPIO port H bit 7 |
15 | TXD2 | RS232 port 2 transmit | GPH6 | GPIO port H bit 6 |
16 | VM | LCD AC bias | GPC4 | GPIO port C bit 4 |
17 | VFRAME | LCD Vertical sync | GPC3 | GPIO port C bit 3 |
18 | VLINE | LCD Horizontal sync | GPC2 | GPIO port C bit 2 |
19 | VCLK | LCD pixel clock | GPC1 | GPIO port C bit 1 |
20 | GND | Ground - supply voltage return. | ||
21 | LCD_VD0 | LCD data bit 0 | GPC8 | GPIO port C bit 8 |
22 | LCD_VD1 | LCD data bit 1 | GPC9 | GPIO port C bit 9 |
23 | LCD_VD2 | LCD data bit 2 | GPC10 | GPIO port C bit 10 |
24 | LCD_VD3 | LCD data bit 3 | GPC11 | GPIO port C bit 11 |
25 | LCD_VD4 | LCD data bit 4 | GPC12 | GPIO port C bit 12 |
26 | LCD_VD5 | LCD data bit 5 | GPC13 | GPIO port C bit 13 |
27 | LCD_VD6 | LCD data bit 6 | GPC14 | GPIO port C bit 14 |
28 | LCD_VD7 | LCD data bit 7 | GPC15 | GPIO port C bit 15 |
29 | EINT11 | External interrupt 11 | nSS 1 | SPI port 1 select |
30 | EINT15 | External interrupt 15 | SPICLK1 | SPI port 1 Clock |
31 | EINT14 | External interrupt 14 | SPIMOSI1 | SPI port 1 MOSI |
32 | EINT13 | External interrupt 13 | SPIMISO1 | SPI port 1 MISO |
33 | AIN1 | ADC input 1 | (Note - these ADCs are independant, and do not support differential mode) | |
34 | AIN0 | ADC input 0 | ||
35 | DP1 | USB 1 Slave + | ||
36 | DN1 | USB 1 Slave - | ||
37 | DP0 | USB 0 Host + | ||
38 | DN0 | USB 0 Host - | ||
39 | +3.3VDC | Internal regulator output. Can supply 100mA(?) safely. Overloading this may cause irreparable damage. | ||
40 | +5V | 5V input. |