GPIO identification

81 views
Skip to first unread message

anupsingh chandel

unread,
Dec 16, 2015, 11:00:22 PM12/16/15
to BeagleBoard
Hello,
 
Recently I have started working with BBB. I have one doubt that how the controller understands the following:
Suppose I have to make the pin 12 of connector P8 high, than I have to include gpio44 into the gpio library. Why  44 ? How does this get defined ..? I struggled with Pin 14 of connector 8. Some literatures suggest that it is GPIO 40 but later on in groups I found that it is GPIO 50 and it worked. In schematic and SRM it is mentioned as GPIO1_18 and like that. Please help.
 
Regards,
Anup 

John Syne

unread,
Dec 17, 2015, 12:12:05 AM12/17/15
to beagl...@googlegroups.com
P8 HEADER LINUX PIN ADDR/OFFSET GPIO NO. TRM NAME MODE 7
P8_1    
P8_2          
P8_3 6 0x818/018 38 GPIO1_6 gpio1[6]
P8_4 7 0x81c/01c 39 GPIO1_7 gpio1[7]
P8_5 2 0x808/008 34 GPIO1_2 gpio1[2]
P8_6 3 0x80c/00c 35 GPIO1_3 gpio1[3]
P8_7 36 0x890/090 66 TIMER4 gpio2[2]
P8_8 37 0x894/094 67 TIMER7 gpio2[3]
P8_9 39 0x89c/09c 69 TIMER5 gpio2[5]
P8_10 38 0x898/098 68 TIMER6 gpio2[4]
P8_11 13 0x834/034 45 GPIO1_13 gpio1[13]
P8_12 12 0x830/030 44 GPIO1_12 gpio1[12]
P8_13 9 0x824/024 23 EHRPWM2B gpio0[23]
P8_14 10 0x828/028 26 GPIO0_26 gpio0[26]
P8_15 15 0x83c/03c 47 GPIO1_15 gpio1[15]
P8_16 14 0x838/038 46 GPIO1_14 gpio1[14]
P8_17 11 0x82c/02c 27 GPIO0_27 gpio0[27]
P8_18 35 0x88c/08c 65 GPIO2_1 gpio2[1]
P8_19 8 0x820/020 22 EHRPWM2A gpio0[22]
P8_20 33 0x884/084 63 GPIO1_31 gpio1[31]
P8_21 32 0x880/080 62 GPIO1_30 gpio1[30]
P8_22 5 0x814/014 37 GPIO1_5 gpio1[5]
P8_23 4 0x810/010 36 GPIO1_4 gpio1[4]
P8_24 1 0x804/004 33 GPIO1_1 gpio1[1]
P8_25 0 0x800/000 32 GPIO1_0 gpio1[0]
P8_26 31 0x87c/07c 61 GPIO1_29 gpio1[29]
P8_27 56 0x8e0/0e0 86 GPIO2_22 gpio2[22]
P8_28 58 0x8e8/0e8 88 GPIO2_24 gpio2[24]
P8_29 57 0x8e4/0e4 87 GPIO2_23 gpio2[23]
P8_30 59 0x8ec/0ec 89 GPIO2_25 gpio2[25]
P8_31 54 0x8d8/0d8 10 UART5_CTSN gpio0[10]
P8_32 55 0x8dc/0dc 11 UART5_RTSN gpio0[11]
P8_33 53 0x8d4/0d4 9 UART4_RTSN gpio0[9]
P8_34 51 0x8cc/0cc 81 UART3_RTSN gpio2[17]
P8_35 52 0x8d0/0d0 8 UART4_CTSN gpio0[8]
P8_36 50 0x8c8/0c8 80 UART3_CTSN gpio2[16]
P8_37 48 0x8c0/0c0 78 UART5_TXD gpio2[14]
P8_38 49 0x8c4/0c4 79 UART5_RXD gpio2[15]
P8_39 46 0x8b8/0b8 76 GPIO2_12 gpio2[12]
P8_40 47 0x8bc/0bc 77 GPIO2_13 gpio2[13]
P8_41 44 0x8b0/0b0 74 GPIO2_10 gpio2[10]
P8_42 45 0x8b4/0b4 75 GPIO2_11 gpio2[11]
P8_43 42 0x8a8/0a8 72 GPIO2_8 gpio2[8]
P8_44 43 0x8ac/0ac 73 GPIO2_9 gpio2[9]
P8_45 40 0x8a0/0a0 70 GPIO2_6 gpio2[6]
P8_46 41 0x8a4/0a4 71 GPIO2_7 gpio2[7]

44 is the Linux GPIO number.

Regards,
John




--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

anupsingh chandel

unread,
Dec 17, 2015, 12:19:11 AM12/17/15
to beagl...@googlegroups.com
Hello John,
 
Thank you .
How to find this .?
II want to find this for P9 also, that's why..?
Please help.
 
Regards,
Anup

Keep smiling:)

You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/UGtofQoiOHk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

John Syne

unread,
Dec 17, 2015, 12:22:05 AM12/17/15
to beagl...@googlegroups.com
P9 HEADER
LINUX PIN
ADDR/OFFSET
TRM NAME
GPIO NO.
MODE 7
P9_01


DGND


P9_02


DGND


P9_03


VDD_3V3B


P9_04


VDD_3V3B


P9_05


VDD_5V


P9_06


VDD_5V


P9_07


SYS_5V


P9_08


SYS_5V


P9_09


PWR_BUT


P9_10


SYS_RESETn


P9_11
28
0x870/070
UART4_RXD
30
gpio0[30]
P9_12
30
0x878/078
GPIO1_28
60
gpio1[28]
P9_13
29
0x874/074
UART4_TXD
31
gpio0[31]
P9_14
18
0x848/048
EHRPWM1A
50
gpio1[18]
P9_15A
16
0x840/040
GPIO1_16
48
gpio1[16]
P9_15B
34
0x888/088
GPIO1_16
64
gpio2(0)
P9_16
19
0x84c/04c
EHRPWM1B
51
gpio1[19]
P9_17
87
0x95c/15c
I2C1_SCL
5
gpio0[5]
P9_18
86
0x958/158
I2C1_SDA
4
gpio0[4]
P9_19
95
0x97c/17c
I2C2_SCL
13
gpio0[13]
P9_20
94
0x978/178
I2C2_SDA
12
gpio0[12]
P9_21
85
0x954/154
UART2_TXD
3
gpio0[3]
P9_22
84
0x950/150
UART2_RXD
2
gpio0[2]
P9_23
17
0x844/044
GPIO1_17
49
gpio1[17]
P9_24
97
0x984/184
UART1_TXD
15
gpio0[15]
P9_25A
107
0x9ac/1ac
GPIO3_21
117
gpio3[21]
P9_25B
27
0x86c/06c
GPIO1_27
59

P9_26
96
0x980/180
UART1_RXD
14
gpio0[14]
P9_27
105
0x9a4/1a4
GPIO3_19
115
gpio3[19]
P9_28
103
0x99c/19c
SPI1_CS0
113
gpio3[17]
P9_29
101
0x994/194
SPI1_D0
111
gpio3[15]
P9_30
102
0x998/198
SPI1_D1
112
gpio3[16]
P9_31
100
0x990/190
SPI1_SCLK
110
gpio3[14]
P9_32


VDD_ADC


P9_33


AIN4


P9_34


GNDA_ADC


P9_35


AIN6


P9_36


AIN5


P9_37


AIN2


P9_38


AIN3


P9_39


AIN0


P9_40


AIN1


P9_41A
109
0x9b4/1b4
CLKOUT2
20
gpio0[20]
P9_41B
106
0x9a8/1a8
CLKOUT2
116
gpio3[20]
P9_42A
89
0x964/164
GPIO0_7
7
gpio0[7]
P9_42B
104
0x9a0/1a0
GPIO0_7
114
gpio3[18]
P9_43


DGND


P9_44


DGND


P9_45


DGND


P9_46


DGND









Search Google for BBB Pinmux spreadsheet

Regards,
John



Reply all
Reply to author
Forward
0 new messages