Nike GPIO Table

来自WordPress中文文档
跳转至: 导航搜索

Nike GPIO Info

GPIO Table

Owner0 (0......15) Addr=0xB2C00100, Val=0xFFFF
Owner1 (16....42) Addr=0xB2B00504, Val=0x7FFFCBF
Owner2 (43....67) Addr=0xB2C00108, Val=0x1FE3F4F
Owner3 (68....94) Addr=0xB2C0010C, Val=0x7FDE50F
Owner4 (95..105) Addr=0xB2C00110, Val=0x1FD
Output_EN0 (0......15) Addr=0xB2A00810, Val=0x8001
Output_EN1 (16....42) Addr=0xB2900C08, Val=0xC01
Output_EN2 (43....67) Addr=0xB2A00814, Val=0x1F80408
Output_EN3 (68....94) Addr=0xB2A00818, Val=0x2C650D
Output_EN4 (95..105) Addr=0xB2A0081C, Val=0x60
Output_Level0 (0......15) Addr=0xB2A00800, Val=0x0
Output_Level1 (16....42) Addr=0xB2900C00, Val=0x800
Output_Level2 (43....67) Addr=0xB2A00804, Val=0x60000
Output_Level3 (68....94) Addr=0xB2A00808, Val=0x4000
Output_Level4 (95..105) Addr=0xB2A0080C, Val=0x0
Input_Level0 (0......15) Addr=0xB2A00834, Val=0x0
Input_Level1 (16....42) Addr=0xB2900C20, Val=0x7DFA82E
Input_Level2 (43....67) Addr=0xB2A00838, Val=0x1F63A09
Input_Level3 (68....94) Addr=0xB2A0083C, Val=0x7C1C000
Input_Level4 (95..105) Addr=0xB2A00840, Val=0x0

GPIO List for known elements:

1 n/a 1 n/a
2 n/a 1 CAMERA (out_en)
3 n/a 1 CAMERA (out_en)
4 n/a 1 CAMERA (out_en)
5 n/a 1 CAMERA (out_en)
6 n/a 1 CAMERA (out_en)
7 n/a 1 CAMERA (out_en)
8 n/a 1 CAMERA (out_en)
9 n/a 1 CAMERA (out_en)
10 n/a 1 CAMERA (out_en)
11 n/a 1 CAMERA (out_en)
12 n/a 1 CAMERA (out_en)
13 n/a 1 CAMERA (out_en)
14 n/a 1 CAMERA (out_en)
15 n/a 0 n/a
16 n/a 0 n/a
17 INPUT 0 goes high when usb connected
18 n/a 1 n/a
19 INPUT 1 Goes low when screen is touched.
20 n/a 0 Triggered with usb / h2w headset
21 INPUT 1 Sliding keyboard switch - high when closed
22 n/a 0 n/a
23 OUTPUT 0 Keypad backlight - high when backlight on.
24 n/a 0 n/a
25 n/a 0 n/a
26 n/a 0 n/a
27 n/a 0 n/a
28 OUTPUT 1 DPAD Backlight, need to be triggered from winmo first.
29 n/a 0 n/a
30 n/a 1 n/a
31 INPUT 1 Keyboard row
32 INPUT 1 Keyboard row
33 INPUT 1 Keyboard row
34 INPUT 1 Keyboard row
35 INPUT 1 Keyboard row
36 INPUT 1 Keyboard row
37 INPUT 1 handset button triggered? 27?
38 INPUT 1 Keyboard Column
39 INPUT 1 Keyboard Column
40 INPUT 1 Keyboard Column
41 INPUT 1 Keyboard Column
42 INPUT 1 Keyboard Column
43 n/a 0 RTS (uart1) Bluetooth
44 n/a 1 CTS (uart1) Bluetooth
45 n/a 1 RX (uart1) Bluetooth
46 n/a 0 TX (uart1) Bluetooth
47 n/a 0 n/a
48 n/a 1 n/a
49 n/a 0 AUDIO ROUTING?
50 n/a 0 n/a
51 INPUT 0 SD card switch
52 n/a 1 n/a
53 OUTPUT 1 Battery charge enable, set to 0 to enable
54 n/a 0 n/a
55 n/a 0 n/a
56 n/a 0 n/a
57 n/a 0 n/a
58 n/a 0 n/a
59 n/a 0 n/a
60 INPUT 1 SCL I2C
61 INPUT 1 SDA I2C
62 OUTPUT 0 SD0 CLK(SD)
63 OUTPUT 1 SD0 CMD(SD)
64 OUTPUT 1 SD0 DATA3(SD)
65 OUTPUT 1 SD0 DATA2(SD)
66 OUTPUT 1 SD0 DATA1(SD)
67 OUTPUT 1 SD0 DATA0(SD)
68 n/a 0 n/a
69 n/a 0 n/a
70 n/a 0 n/a
71 n/a 0 n/a
72 n/a 0 n/a
73 n/a 0 n/a
74 n/a 0 n/a
75 n/a 0 n/a
76 OUTPUT 0 Bluetooth clock - High for enable
77 n/a 0 n/a
78 n/a 0 n/a
79 n/a 0 n/a
80 n/a 0 n/a
81 OUTPUT 0 BATTERY_CHARGER_CURRENT, set to enable fast charge
82 n/a 1 n/a
83 INPUT 1 headset in
84 INPUT 1 headset in #2
85 n/a 0 n/a
86 n/a 0 n/a
87 n/a 0 n/a
88 n/a 0 n/a
89 n/a 0 n/a
90 n/a 1 n/a
91 n/a 1 n/a
92 n/a 0 n/a
93 n/a 1 n/a
94 INPUT 1 Power button
95 n/a 0 n/a
96 n/a 0 n/a
97 n/a 0 n/a
98 n/a 0 n/a
99 n/a 0 n/a
100 n/a 0 n/a
101 n/a 0 n/a
102 n/a 0 n/a
103 n/a 0 n/a
104 n/a 0 n/a
105 n/a n/a n/a

Output from 1.65.29 Radio

cmd: gpio in radio bootloader gives:

 
GPIO Owner: 
gpio1_owner0:0xFFFF 
gpio2_owner1:0x7FFFCBF 
gpio1_owner2:0x1FE3F4F 
gpio1_owner3:0x7FFE50F 
gpio1_owner4:0x1FD 
GPIO OUTPUT_ENABLE: 
gpio1_oe0:0x0 
gpio2_oe1:0x240 
gpio1_oe2:0x1C0B0 
gpio1_oe3:0x1AF0 
gpio1_oe4:0xE02 
gpio1_cfg:0x0 
gpio2_cfg:0x0 

Back to the Niki main page or Back to Niki Android