|
|
| Line 4: |
Line 4: |
| | {|border="3" | | {|border="3" |
| | |+Pinout with more explanations and links. | | |+Pinout with more explanations and links. |
| − | !Pin number||Main Function||Note||Alt Function||Note | + | !Pin Number||Hammer||Note||LCD|Pin Number |
| − | |-
| + | |
| − | | 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 | | |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 |
| Line 61: |
Line 21: |
| | |- | | |- |
| | |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 | | |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.
| |
| | |} | | |} |