release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Search | Go
Wiki > Main > PortPinAssignments (r105)

Port Pin Assignments


Archos Jukebox

Port A

Port pin Player Recorder FM/V2 Recorder Ondio
PA0 GP In DC adapter detect (0=inserted) /CS4 MAS Parallel Port (for recording) /CS4 MAS Parallel Port (for recording) /CS4 MAS Parallel Port (for recording)
PA1 /RAS Out DRAM control /RAS Out DRAM control /RAS Out DRAM control /RAS Out DRAM control
PA2 /CS6 Out ATA registers /CS6 Out ATA registers /CS6 Out ATA registers GP Out FM tuner power (low active)
PA3 /WAIT In Bus handshake /WAIT In Bus handshake /WAIT In Bus handshake GP Out Card detect (low active)
PA4 /WR Out Bus write signal /WR Out Bus write signal /WR Out Bus write signal /WR Out Bus write signal
PA5 GP In ON key (0=pressed) GP Out ATA power control (1=on) GP Out ATA/LED power control (1=on) GP Out USB Enable (1=enable)
PA6 /RD Out Bus read signal /RD Out Bus read signal /RD Out Bus read signal /RD Out Bus read signal
PA7 GP Out ATA buffer control (0=active) GP Out ATA buffer control (0=active) GP Out ATA buffer control (0=active) GP Out internal MMC flash reset
PA8 GP Out MAS POR Reset (0=reset) GP Out MAS POR Reset (polarity varies) GP Out MAS POR Reset (polarity varies) GP Out MAS POR Reset, low active
PA9 GP Out ATA Reset (0=reset) GP Out ATA Reset (0=reset) GP Out ATA Reset (0=reset) GP Out MMC chip select
PA10 GP Out USB Enable (0=enable) GP Out USB Enable (polarity varies) GP Out USB Enable (polarity varies) GP Out internal flash chip select
PA11 GP In STOP key (0=pressed) GP Out MAS PR DMA Request (polarity varies) GP Out MAS PR DMA Request (polarity varies) GP Out MAS PR DMA Request
PA12 /IRQ0 ATA INTRQ (not used) /IRQ0 ATA INTRQ (not used) /IRQ0 ATA INTRQ (not used) GP Out internal MMC clock enable (polarity varies)
PA13     /IRQ1 RTC IRQ     /IRQ1 ready/busy from internal flash
PA14 GP Out Backlight (0=on) GP In Not used     GP Out backlight provision (1=on)
PA15 GP In USB cable detect (0=inserted) /IRQ3 MAS Demand IRQ, start demand /IRQ3 MAS Demand IRQ, start demand /IRQ3 MAS Demand IRQ, start demand

Port B

Port pin Player Recorder FM/V2 Recorder Ondio
PB0 GP Out LCD Data Select (1=data) GP Out LCD Serial Data GP Out LCD Serial Data / FM Radio Data In GP Out LCD Serial Data
PB1 GP Out LCD Chip Select (0=active) GP Out LCD Serial Clock GP Out LCD Serial Clock / FM Radio Serial Clock GP Out LCD Serial Clock / FM Radio Serial Clock
PB2 GP Out LCD Serial Data GP Out LCD Data Select (1=data) GP Out LCD Data Select (1=data) GP Out LCD Data Select (1=data)
PB3 GP Out LCD Serial Clock GP Out LCD Chip Select (0=active) GP Out LCD Chip Select (0=active) / FM Radio Chip Enable (1=active) GP Out LCD Chip Select (0=active) / FM Radio BUSENABLE (1 = active)
PB4 GP Out Hard disk power (1=on) (very old players don't have this) GP In OFF key (0=pressed) GP In FM Radio Data Out GP I/O FM Radio I2C? Data
PB5 GP Out MAS WSEN (1=enable) GP Out Charger control (0=enable) GP Out Main power control (0=shut off) GP Out Main power control (0=shut off)
PB6 GP Out Red LED control (1=on) GP Out Red LED control (1=on) GP Out Red LED control (1=on) GP Out I2C? Clock
PB7 GP I/O IC Data GP Out IC Data GP Out IC Data GP I/O I2C? Data
PB8     GP In ON key (0=pressed)     GP Out MAS SIBI
PB9 TxD0 MAS Serial link for MP3 data TxD0 MAS Serial link for MP3 data TxD0 MAS Serial link for MP3 data TxD0 MAS Serial link for MP3 data
PB10 RxD1 Remote control serial input RxD1 Remote control serial input Unused (meant for RDS data input, IIRC) RxD1 SPI data read from MMC
PB11             TxD1 SPI data write to MMC
PB12 SCK0 MAS Serial Clock for MP3 data SCK0 MAS Serial Clock for MP3 data SCK0 MAS Serial Clock for MP3 data SCK0 MAS Serial Clock for MP3 data
PB13 GP Out IC Clock GP Out IC Clock GP Out IC Clock SCK1 SPI clock to MMC
PB14 /IRQ6 MAS Demand IRQ, stop demand /IRQ6 MAS Demand IRQ, stop demand /IRQ6 MAS Demand IRQ, stop demand /IRQ6 MAS Demand IRQ, stop demand
PB15 GP In MAS MP3 frame sync GP In MAS PRTW input (0=ready) GP In MAS PRTW input (0=ready) GP In MAS PRTW input (0=ready)

Port C/ Analog In

Port pin Player Recorder FM/V2 Recorder Ondio
PC0/AN0 LEFT key Battery voltage 1 (unusable)   MMC presence switch
PC1/AN1 MENU key Charger regulator voltage USB detect USB detection
PC2/AN2 RIGHT key USB voltage OFF key Menu button
PC3/AN3 PLAY key   ON key On/Off button
PC4/AN4   F1, F2, F3, UP keys F1, F2, F3, UP keys direction keys
PC5/AN5   DOWN, PLAY, LEFT, RIGHT keys DOWN, PLAY, LEFT, RIGHT keys USB bridge activity
PC6/AN6 Battery voltage Battery voltage Battery voltage Power good
PC7/AN7 DC input voltage DC input voltage Charge current? Battery voltage



iriver H1x0/H3x0

GPIO

H1x0 H3x0
Port pin I/O/F Description I/O/F Description
0 F DDATA0 F DDATA0
1 F DDATA1 F DDATA1
2 F DDATA2 F DDATA2
3 O I2C? Clock (to FM tuner) (C) O ISP1362 RESET
4 F DDATA3 F DDATA3
5 O EEPROM? I ISP1362 INT1
6 O ISD300 3.3V control I PCF50606 IRQ
7 O ADC CS (C) I ISP1362 INT2
8 F A25 F A25
9 O Disk LED control (C) I A-B button (0=down)
10 F BCLK F BCLK
11 O Remote LCD backlight (0 = on) (C) F ISP1362 Chip Select
12 O EEPROM I2C? CLK (C) I/O EEPROM I2C? SCL & PCF50606 SCL (C)
13 F IDE_DIOR (C) F IDE_DIOR
14 F IDE_DIOW (C) F IDE_DIOW
15 F SCLK_OUT I REC button (0=down)
16 O Remote LCD RS (C) O Remote LCD RS
17 F BUFENB2 (For ATA buffers) (C) F BUFENB2 (For ATA buffers)
18 O ATAEN to ISD300 (1=USB controlled disk) (C) O ATAEN to ISD300 (1=USB controlled disk)
19 O ATA RESET O ATA RESET
20 F TA F TA
21 O ADC Data Out (C) O ISP1362 OTGMODE
22 O SPI CLK (C) O ISP1362 D_SUSPEND
23 O Audio mux select (0=Playback, 1=FM tuner) (C) I LX2201 Charge STAT pin (1 = Battery charge in progress)
24 O ISD300 power (1=on) (C) I/O I2C? SDA to ISD300 cfg EEPROM
25 F SDATAO1 I/O I2C? SCL to ISD300 cfg EEPROM
26 F QSPI_DOUT O Goes to an unmounted resistor, R26
27 F* RXD1 + TXD1 F* RXD1 + TXD1
28 O* Remote LCD CLK (C) I/O* I: USB host plug pin 4 (ID), O: Remote LCD CLK
29 O Reset line for I2C?? O ISP1362 ID
30 I* I: Remote control detect (0=present) (C) I* I: Remote control detect (0=present), O: Audio mux select (0=Playback, 1=FM tuner)
31 I* ADC Data In (C) & Hard drive power (0=on) (C) I* Hard drive power (0=on)

GPIO1

H1x0 H3x0
Port pin I/O/F Description I/O/F Description
32 (0)   Unassigned   Unassigned
33 (1) I* Hold switch (C) I/O* In: Hold switch, Out: Remote LCD backlight (0 = on)
34 (2) O Remote LCD CS (C) O Remote LCD CS
35 (3) O LCD A0 (C) O ISD300 3.3V control
36 (4) F* EBUIN1 + EBUOUT1 I/O* O: test point TP14
37 (5) I* On/Play/Pause key (0=down) (C) I* On/Play/Pause key (0=down) (C)
38 (6) I* Remote On/Play/Pause key (0=down) (C) ? NON-lcd remote play/pause (on) key; LCD remote: Navi (joy push); (0=down) (C)
39 (7) I* USB detect (C) I* USB detect (C)
40 (8)   Unassigned   Unassigned
41 (9) F* SDATAI2/SDATAO2    
42 (10) F* SDATAI4/MCLK2    
43 (11)   Unassigned   Unassigned
44 (12) F LRCK2    
45 (13) I/O EEPROM I2C? SDA (C) I/O EEPROM I2C? SDA & PCF50606 SDA (C)
46 (14) O LCD RESET (active low) (C) O LCD RESET (active low)
47 (15)   Unassigned   Unassigned
48 (16) F SCLK2    
49 (17) O LCD backlight (0 = on) (C) O LCD backlight (1 = on)
50 (18) O Remote LCD DATA (C) O Remote LCD DATA
51 (19) O Write 0 at power off O Same (C)
52 (20) I Remote Hold switch (1=hold) (C) I Remote Hold switch (LCD remotes; 1=hold) (C)
53 (21) F SUBR O Possibly USB Host 5V supply (1 = on)
54 (22) I Charger detect (1=inserted) (C) I AC Charger detect (1=inserted)
55 (23) I/O I2C? Data (to FM tuner) (C)    
56 (24) O S/PDIF Tx diode enable (0=on) (C) I/O I2C? CLK (to FM tuner)
57 (25) F BUFENB1 I/O I2C? SDA (to FM tuner)
58 (26) F CS1 (LCD) (C)    
59 (27) F PST0 F PST0
60 (28) F PST1 F PST1
61 (29) F PST2 F PST2
62 (30) F PST3 F PST3
63 (31) F PSTCLK F PSTCLK

"*" indicates that this GPIO or function is actually implemented by two pins on the physical package -- one dedicated input pin and one dedicated output. This means that this logical bit can serve two functions simultaneously. There's only one bit that decides function vs. GPIO, so the composite pin must either both be function pins or a GPI and GPO pin.

"*(C)*" indicates that it is confirmed

PCF50606 GPO

H3x0
Port pin Description
GPOOD0 High-Z (0x00) enables USB Charging/Power; Low (0x07) disables
GPOOD1 Backlight PWM output
GPOOD2 UDA1380 reset - High-Z (0x00) resets the UDA1380

There is an (obsolete) similar table at IriverMemoryMap which includes information on where in the original firmware you can find usage of these pins.



iriver H10

Note: "Default" is the value the pin has once the iriver bootloader is finished running. In the case where input is not enabled, the default input value is obtained by first enabling input, and then reading the value. '-' means neither input or output are enabled.

H10 GPIO

GPIOA GPIOG
Port pin I/O/F Description I/O/F Description
0 I Remote Play/Pause (0=on) - Default I=0, O=0
1 I Default I=1 - Default I=1, O=0
2 I Hold Button (0=on) - Default I=1, O=0
3 I Fast Forward Button (0=pressed) - Default I=1, O=0
4 I Play Button (0=pressed) - Default I=1, O=0
5 I Rewind Button (0=pressed) - Default I=1, O=0
6 I O Button (0=presses) - Default I=1, O=0
7 I Back Button (0=pressed) - Default I=1, O=0

GPIOB GPIOH
Port pin I/O/F Description I/O/F Description
0 I Power Button (1=pressed) - Default I=1,O=0
1 I/O Default I=1,O=1 - Default I=1,O=0
2 I/O Line-in//tuner switch (0=tuner, 1=line-in) Connected to LV4052's B pin. (A pin is connected to GND) - Default I=1,O=0
3 I Default I=1,O=0 - Default I=1,O=0
4 I Default I=1,O=0 - Default I=1,O=0
5 I Default I=0,O=0 - Default I=1,O=0
6 I Default I=1,O=0 - Default I=1,O=0
7 I Default I=1,O=0 - Default I=1,O=0

GPIOC GPIOI
Port pin I/O/F Description I/O/F Description
0 - ADC Channel 0 (1=high ~0x3ff, 0=low ~0x000) - Default I=1,O=0
1 - ADC Channel 1 (1=high ~0x3ff, 0=low ~0x000) - Default I=1,O=0
2 - ADC Channel 2 (1=high ~0x3ff, 0=low ~0x000) - Default I=0,O=0
3 I/O ADC Channel 3 (1=high ~0x3ff, 0=low ~0x000) - Default I=1,O=0
4 - Default I=1,O=0 - Default I=1,O=0
5 - Default I=1,O=0 - Default I=0,O=0
6 - Default I=1,O=0 - Default I=0,O=0
7 - Default I=1,O=0 - Default I=1,O=0

GPIOD GPIOJ
Port pin I/O/F Description I/O/F Description
0 I Default I=1,O=0 - Default I=1,O=0
1 I/O Buzzer - write 1 to make a click sound like when the scrollpad is touched in the iriver firmware. Default I=0,O=0 - Default I=1,O=0
2 I/O Default I=1,O=1 - Default I=1,O=0
3 I/O FM Tuner's SDA - Default I=1,O=0
4 I/O FM Tuner's SCL - Default I=1,O=0
5 I Scrollpad in use (1=yes, 0=no) - Set along with GPIOC3 - Default I=1,O=0
6 I/O Read scrollpad value from ADC (0=read, 1=detect scrollpad being touched on GPIOD pin 5 - Default I=1,O=0
7 I Default I=1,O=0 - Default I=1,O=0

GPIOE GPIOK
Port pin I/O/F Description I/O/F Description
0 - Default I=1,O=0 - Default I=0,O=0
1 - Default I=1,O=0 - Default I=1,O=0
2 - Default I=1,O=0 - Default I=1,O=0
3 - Default I=1,O=0 - Default I=1,O=0
4 - Default I=1,O=0 - Default I=1,O=0
5 - Default I=1,O=0 - Default I=0,O=0
6 - Default I=1,O=0 - Default I=1,O=0
7 - Default I=1,O=0 - Default I=1,O=0

GPIOF GPIOL
Port pin I/O/F Description I/O/F Description
0 I/O ATA Power? (1=off) I Default I=1,O=0
1 I Default I=1,O=0 I/O Default I=0,O=0
2 I Default I=1,O=0 I USB Cable Connected (1=yes, 0=no)
3 I Charger connected (1=yes, 0=no) I/O Default I=1,O=1
4 I/O Default I=0,O=0 I/O Audio output (1=on)
5 I/O Power (1=on, 0=off) I/O Backlight (1=on, 0=off)
6 I/O Default I=1,O=1 I Default I=1,O=0
7 I Default I=1,O=0 I/O Default I=1,O=1

H10 Data Cable

Port pin Description
1 USB Pin 3 (Data +)
2 Ground
3 USB Pin 5 (Ground), tell's the H10 that it is connected to the Cradle
4 Line-Out Left Channel
5  
6 Line-In Right Channel
7  
8  
9 Power (+5V)
10 Power (+5V), connected to Pin 9
11  
12 USB Pin 1 (+5V)
13 Line-In Left Channel
14  
15 Charge Led Chathode
16 Line-Out Right Channel
17 Ground
18 USB Pin 2 (Data -)



iAudio X5

X5 GPIO

Port pin I/O/F Description
0 I PCF50606 IRQ
1    
2    
3 O KEEPACT (0 = power off)
4 I CY7C68310? BUSPWRD (1 = bus powered)
5 I ATA IRQ
6    
7    
8    
9    
10 I/O PCF50606 I2C? SCL
11    
12    
13 I/O Remote Data
14 O Remote CLK
15 O Remote CS
16    
17    
18    
19    
20    
21 O Remote backlight
22 I/O DS2411 serial I/O
23 O CY7C68310? RESET
24 I Remote detect (0 = present)
25 I Remote PLAY/ON button (0 = on)
26 I ON button (0 = on)
27 I Hold switch (0 = on)
28 F CS1 - (A15,A14 selects LCD or USBOTG: 10=LCD 01=USBOTG)
29 O Audio mux (0=FM Tuner, 1=Line-In)
30 O ATA Reset
31 F ATA DIOR

X5 GPIO1

Port pin I/O/F Description
32 O ATA DIOW
33 I ATA IORDY
34    
35 O CY7C68310? USB enable (0 = on)
36 O LCD reset (0 = reset)
37 O Remote RS
38 F SDRAM WE
39 F SDRAM CAS
40 F SDRAM BCLK
41 I/O TLV320 & DA202 I2C? SCL
42 I/O TLV320 & DA202 I2C? SDA
43 O ATA Bus enable (0 = enable)
44 I/O PCF50606 I2C? SDA
45    
46    
47    
48    
49    
50    
51    
52 F SDRAM LDQM
53 F SDRAM UDQM
54 I maybe USBOTG detect
55 I USB connected (1 = connected)
56 I Charger detect (1 = connected)
57 I CY7C68310? LOWPWR (1 = Only 100mA granted)
58    
59 F SDRAM RAS
60 F SDRAM CS
61    
62    
63 F SDRAM BCLKE

"*" indicates that this GPIO or function is actually implemented by two pins on the physical package -- one dedicated input pin and one dedicated output. This means that this logical bit can serve two functions simultaneously. There's only one bit that decides function vs. GPIO, so the composite pin must either both be function pins or a GPI and GPO pin.

X5 PCF50606 GPO

Port pin Description
GPO0  
GPO1 Main LCD Backlight
GPOOD0 Green LED (0 = on)
GPOOD1 Red LED (0 = on)
GPOOD2  
GPOOD3 HDD power (0 = on)

Subpack Connector

Port pin Description
1 USB Pin 5 (Ground)
2 USB Pin 5 (Ground)
3 USB Pin 3 (Data +)
4 USB Pin 3 (Data +)
5 USB Pin 2 (Data -)
6 USB Pin 2 (Data -)
7 USB Pin 1 (+5V)
8 USB Pin 1 (+5V)
9 No Connection
10 Line-In/Line-Out ground
11 Line-In/Line-Out ground
12 No Connection
13 Line-Out Right Channel
14 Line-Out Left Channel
15 Line-In Right Channel
16 Line-In Left Channel
17 No Connection
18 Power Sleeve (Ground)
19 Power Sleeve (Ground)
20 No Connection
21 Power (+5V)
22 Power (+5V)

X5_ConnectorPins_LineOut.gif

To make it clear how I labeled the pins

Mini AB Connector (USB OTG)

Port pin Description
1 USB Pin 1 (+5V)
2 USB Pin 2 (Data -)
3 USB Pin 3 (Data +)
4 USB Pin 4 (No Connection)
5 USB Pin 5 (Ground)



SanDisk Sansa e200

e200 GPIO

GPIOA GPIOG
Port pin I/O/F Description I/O/F Description
0 -   -  
1 O Unknown, default 0 -  
2 O Unknown, default 0 -  
3 O Unknown, default 0 -  
4 O Unknown, default 0 -  
5 O Unknown, default 0 O ATA Controller
6 O Unknown, default 0 O ATA Controller
7 I ATA Controller (0 = MicroSD card inserted) O Scrollwheel light (1=on,0=off)

GPIOB GPIOH
Port pin I/O/F Description I/O/F Description
0 -   -  
1 -   -  
2 -   -  
3 -   O FM NR_W (1=tuner write mode, 2=tuner read mode)
4 I USB Controller IRQ (Req. on level change) O FM CLOCK (tuner interface clock)
5 O LCD Clock I/O FM DATA (BIDI Pin: I when reading tuner, O when writing to tuner)
6 I LCD Data In I Scroll wheel data
7 O LCD Data Out I Scroll wheel data

GPIOC GPIOI
Port pin I/O/F Description I/O/F Description
0 -   -  
1 -   -  
2 -   -  
3 I/O* O-Set to 1 by BL, I-AS3514 IRQ -  
4 -   -  
5 -   -  
6 -   -  
7 -   -  

GPIOD GPIOJ
Port pin I/O/F Description I/O/F Description
0 O ATA Controller -  
1 O ATA Controller -  
2 O ATA Controller -  
3 O ATA Controller -  
4 O ATA Controller -  
5 -   -  
6 O LCD CS -  
7 -   -  

GPIOE GPIOK
Port pin I/O/F Description I/O/F Description
0 -   -  
1 -   -  
2 -   -  
3 -   -  
4 -   -  
5 -   -  
6 -   -  
7 -   -  

GPIOF GPIOL
Port pin I/O/F Description I/O/F Description
0 I Rec -  
1 I Down -  
2 I Right -  
3 I Left -  
4 I Select -  
5 I Up -  
6 I Power/Menu -  
7 I Hold -  

e200 Data Cable

Port pin Description
1 Power (+5V)
2 Power (+5V)
3 Ground
4 USB Data +
5 USB Data -
6 Ground
7 Video +
8 Audio Right (Line out)
9 Audio Left (Line out)
10  
11  
12  
13 Ground
14 Video +
15  
16  
17  
18 Ground
19  
20 Ground
21  
22  
23  
24  
25  
26  
27 Audio Right + (Line out)
28 Audio Left + (Line out)
29 Audio Out Common
30 Dedicated audio ground

Note: Unconfirmed info taken from here and here.



Olympus M:Robe 100

m:robe 100 GPIO

GPIOA GPIOG
Port pin I/O/F Description I/O/F Description
0 O buttonlight_play -  
1 O buttonlight_menu -  
2 O buttonlight_display -  
3 O buttonlight_left -  
4 O buttonlight_right -  
5 O buttonlight_scroll -  
6 I Power Button (0=pressed) -  
7 -   -  

GPIOB GPIOH
Port pin I/O/F Description I/O/F Description
0 I type of ext. power (0=external/1=usb) -  
1 I external power (0=yes) -  
2 -   -  
3 -   -  
4 -   -  
5 -   -  
6 -   -  
7 O Set 0 in RTC init -  

GPIOC GPIOI
Port pin I/O/F Description I/O/F Description
0 -   -  
1 -   -  
2 -   -  
3 -   -  
4 I/O SCL (potential conflict) -  
5 I/O SDA (potential conflict) -  
6 -   -  
7 -   -  

GPIOD GPIOJ
Port pin I/O/F Description I/O/F Description
0 -   -  
1 -   -  
2 -   -  
3 -   -  
4 I Hold Switch (0=pressed) -  
5 I Cradle (0=inserted) -  
6 -   -  
7 I Headphones (0=inserted) -  

GPIOE GPIOK
Port pin I/O/F Description I/O/F Description
0 -   -  
1 -   -  
2 -   -  
3 -   -  
4 -   -  
5 -   -  
6 -   -  
7 -   -  

GPIOF GPIOL
Port pin I/O/F Description I/O/F Description
0 -   -  
1 -   -  
2 -   I USB (1=connected)
3 -   -  
4 -   O Headphone ouput (0=enabled)
5 -   I Cradle Power (1=powered)
6 -   -  
7 -   -  



Gigabeat F/X

The values of the port pin control registers after boot:

Port Config value
A 00 FF FF FF
B 00 01 54 95
C AA A0 54 A8
D AA A0 AA A5
E AA 80 02 AA
F 00 00 0A AA
G 01 50 10 00
H 00 15 40 A5

Port A

Port pin I/O/F Description CPU pin
0 F ADDR0 F7
1 F ADDR16 D9
2 F ADDR17 G9
3 F ADDR18 F9
4 F ADDR19 H9
5 F ADDR20 D10
6 F ADDR21 C10
7 F ADDR22 H10
8 F ADDR23 E10
9 F ADDR24 C11
10 F ADDR25 D10
11 F ADDR26 G11
12 F nGCS[1] B2
13 F nGCS[2] C3
14 F nGCS[3] C4
15 F nGCS[4] D3
16 F nGCS[5] C2
17 F CLE F5
18 F ALE D1
19 F nFWE F3
20 F nFRE E1
21 F nRSTOUT N13
22 F nFCE F4

Port B

Port pin I/O/F Description CPU pin
0 O   J6
1 O   J5
2 O SC606 enable J7
3 F TOUT3 to generate audio beeps K3
4 I/O USB2ATA?: RESET# K4
5 O USB2ATA?: ATA_EN K2
6 O USB2ATA?: VBUS_PRW_VALID L5
7 O LCD reset K7
8 O LCD CS K5
9 I   L3
10 I   K6

Port C

Port pin I/O/F Description CPU pin
0 I flash related L1
1 F VCLK M4
2 F VLINE M1
3 F VFRAME L7
4 I flash related M4
5 O mutes headphone output (HPDETECT?) M3
6 O flash lock M2
7 O SDI/SDO to DAC switch P1
8 I flash related N2
9 I flash related L6
10 F video data B0 N4
11 F video data B1 R1
12 F video data B2 N3
13 F video data B3 P2
14 F video data B4 M6
15 F video data B5 P3

Port D

Port pin I/O/F Description CPU pin
0 O cradle: speaker amp control? R2
1 O cradle: speaker amp control? N5
2 F video data G0 M5
3 F video data G1 R3
4 F video data G2 P4
5 F video data G3 R4
6 F video data G4 P5
7 F video data G5 N6
8 I   M7
9 I   T4
10 F video data R0 R5
11 F video data R1 T5
12 F video data R2 P6
13 F video data R3 R6
14 F video data R4 N7
15 F video data R5 U5

Port E

Port pin I/O/F Description CPU pin
0 F I2SLRCK? P7
1 F I2SSCLK? R7
2 F CDCLK T7
3 F I2SDI? L8
4 F I2SDO? U6
5 I   N8
6 I   K8
7 I   R8
8 I   M8
9 I   P8
10 I   J9
11 F SPIMOSO0 K9
12 F SPIMOSI0 P9
13 F SPICLK0 L9
14 F IICSCL U8
15 F IICSDA M9

Port F

Port pin I/O/F Description CPU pin
0 F EINT0 / unit USB connected N17
1 F EINT1 / cradle USB connected M16
2 F EINT2 / ATA IRQ L13
3 F EINT3 M15
4 F EINT4 / charger connected (main or cradle) M17
5 F EINT5 L14
6 F EINT6 / cradle sync button L15
7 I cradle CD rip button L16

Port G

Port pin I/O/F Description CPU pin
0 I power button N9
1 I menu button T9
2 I volume up button J10
3 I volume down button R10
4 I A button P11
5 I   K11
6 O RI Onkyo? (set to 0 in legna_misc_cradle_power_on) R10
7 I   L10
8 I battery charging T10
9 I battery switch M11
10 O USB2ATA?: ARESET# N10
11 O set to 1 in power_up_seq in hdd_pm, 0 spins down drive, 1 spins up drive U12
12 O set to 0 in power_up_seq in hdd_pm M10
13 I cradle powered T11
14 I cradle usb/line-in switch L11
15 I hold switch U13

Port H

Port pin I/O/F Description CPU pin
0 O   K11
1 O   L17
2 F TXD0 K13
3 F RXD0 K14
4 I   K16
5 I   K17
6 I   J11
7 O Dock connector bus switch enable J15
8 O Cradle power control K15
9 I/O SC606 serial data R9
10 O SC606 serial clock P10

Port J (touchpad)

Port pin I/O/F Description CPU pin
0 I up++ H6
1 I up+ G3
2 I up H5
3 I center H4
4 I down H3
5 I down+ H7
6 I down++ J8
7 I left++ H2
8 I left+ G5
9 I left G7
10 I right G2
11 I right+ J3
12 I right++ J4

Dock connector

40_pin_connector.JPG

Port pin Description Name on block diagram
1 ground
2 data (USB2ATA?) USB 2.0 Hi-Speed
3 data + (USB2ATA?)
4 ground  
5 line-out R Lineout
6 line-out L
7 ground  
8 IICCLK * I2C?
9 IICSDA *
10 I2SLRCK? * I2S? LRCK
11 I2SSCLK? * I2S? SCLK
12 I2SSDI? * I2S? SDI
13 I2SSDO? * I2S? SDO
14 GPC7: SDI/SDO to DAC switch * I2SMASTER? (GPIO)
15 GPD1 Speaker amp control
16 GPD0
17 GPG13 Optiondetect
18 GPG6 (via resistor R127) RI Onkyo I/F
19 VSSiarm??
20 GPG14: cradle usb/line-in switch Slide switch x 1 (GPIO)
21 GPF6 & ADC input 2 (3rd) - sync button Cradle button x 2 (GPIO&ADC)
22 GPF7 & ADC input 3 (4th) - CD rip button
23 data for usb peripheral USB 1.1 device
24 data + for usb peripheral
25 data from usb host USB 1.1 host [0]
26 data + from usb host
27 GPH8: cradle power control Maindetect (GPIO)
28 GPF1: cradle USB connected Cradle-usb5Vdetect (GPIO)
29 DP5: +5V P5.0V from cradle
30
31
32
33 NC  
34 DP23: PVOUT +4.2V to cradle
35
36 ground from cradle  
37 ground  
38
39
40

* these pins can be enabled/disabled with H8

Debug connector

Port pin Description
1 ground
2 nTRST
3 GPH3: RXD0
4 +
5 nRESET
6 TCK
7 TDO
8 TMS
9 GPH2: TXD0
10 TDI



Gigabeat S

Legend

Character Meaning
I Input
O Output
X Not configured as GPIO for its direction

GPIO1

Port pin I/O/X Description
0 O MC13783 USEROFF
1 I  
2 I  
3 I  
4 I  
5 X  
6 I  
7 I  
8 I  
9 I  
10 I  
11 I  
12 I  
13 I  
14 I  
15 I  
16 I  
17 X  
18 X  
19 X  
20 X  
21 O  
22 O Connection to octal FET bus switch OE (TV Encoder)
23 I  
24 O  
25 I  
26 O Si4701 Tuner RST (RESET)
27 I Si4701 Tuner GPIO2 (SEEK END)
28 I Si4701 Tuner GPIO3 (STEREO/MONO Status)
29 O  
30 O ISP 1504 CS (PHY)
31 I MC13783 PRIINT (PMIC)

GPIO2

Port pin I/O/X Description
32 (0) I  
33 (1) I  
34 (2) I  
35 (3) I  
36 (4) X  
37 (5) X  
38 (6) X  
39 (7) X  
40 (8) X  
41 (9) X  
42 (10) X  
43 (11) X  
44 (12) O  
45 (13) O  
46 (14) X  
47 (15) X  
48 (16) O ATA_EN (Bus Switch, Level Shifter) - 0=Enabled
49 (17) I  
50 (18) X  
51 (19) X  
52 (20) X  
53 (21) X  
54 (22) I  
55 (23) I  
56 (24) I  
57 (25) I  
58 (26) O  
59 (27) O  
60 (28) I  
61 (29) X  
62 (30) X  
63 (31) X  

GPIO3

Port pin I/O/X Description
64 (0) I  
65 (1) I  
66 (2) O  
67 (3) I  
68 (4) I Hold switch (LOCK Slide SW)
69 (5) O HDD ON/OFF (ATA poweroff)
70 (6) O  
71 (7) O  
72 (8) I  
73 (9) I  
74 (10) I  
75 (11) I  
76 (12) O  
77 (13) O  
78 (14) O  
79 (15) I  
80 (16) O ISP 1504 RESET (PHY)
81 (17) I  
82 (18) I  
83 (19) I  
84 (20) I Battery Switch (slide switch)
85 (21) O Analogue LDO Enable (WM8978 AVDD, SPKVDD)
86 (22) O HEADPHONE MUTE (Turn on headphone jack output)
87 (23) O  
88 (24) O  
89 (25) O  
90 (26) X  
91 (27) X  
92 (28) X  
93 (29) X  
94 (30) X  
95 (31) X  

Dock connector

40_pin_connector.JPG

Port pin Description Name on block diagram
1 ground  
2 data (USB2ATA?) USB 2.0 Hi-Speed
3 data + (USB2ATA?)
4 ground  
5 line-out L Lineout
6 line-out R
7 ground  
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    

Debug connector

Port pin Description
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  


40 Pin Connection:
Edit | Attach | Print version | History: r107 | r106 < r105 < r104 < r103 | Backlinks | View wiki text | More topic actions...
r105 - 08 Nov 2008 - 21:14:13 - MichaelSevakis
Copyright by the contributing authors.