Marc Silanus

Utilisez les ports GPIO

Wiki du fabricant : http://www.acmesystems.it/foxg20/doku.php?id=hw:foxg20pinout

Le CPU AT91SM9G20 utilisé sur la FOX Board G20 dispose de 3 ports appelés A, B et C avec 32 bits chacun. Tous les bits ne sont pas disponibles sur les connecteurs de la carte et certains sont multiplexés avec d’autres types de liaisons comme des ports série, I2C, SPI, convertisseur A/N, USB, ….
L’utilisateur dispose de 28 lignes GPIO sur les deux connecteurs J6 et J7 de la carte :

Pin # ID I/O line Alt Description Pin # ID Line Alt Description
J7.1 GND Signal ground J6.1 3.3V 3.3 volt DC power line
J7.2 GND Signal ground J6.2 3,3V 3.3 volt DC power line
J7.3 82 PB18 General purpose I/O J6.3 92 PB28 RTS1 Request to send ttyS2
J7.4 83 PB19 General purpose I/O J6.4 71 PB7 RXD1 Receive data ttyS2
J7.5 80 PB16 General purpose I/O. J6.5 70 PB6 TXD1 Transmit line ttyS2
J7.6 81 PB17 General purpose I/O J6.6 93 PB29 CTS1 Clear to send ttyS2
J7.7 66 PB2 General purpose I/O J6.7 90 PB26 RTS0 Request to send ttyS1
J7.8 67 PB3 General purpose I/O J6.8 69 PB5 RXD0 Receive data ttyS1
J7.9 64 PB0 General purpose I/O J6.9 68 PB4 TXD0 Transmit data ttyS1
J7.10 65 PB1 General purpose I/O J6.10 91 PB27 CTS0 Clear to send ttyS1
J7.11 110 PC14 General purpose I/O 1.8V J6.11 N.C. (See the schematic)
J7.12 111 PC15 General purpose I/O 1.8V J6.12 5V 5 volt DC power live
J7.13 108 PC12 General purpose I/O 1.8V J6.13 75 PB11 RXD3 Receive data ttyS4
J7.14 109 PC13 General purpose I/O 1.8V J6.14 74 PB10 TXD3 Transmit data ttyS4
J7.15 105 PC9 General purpose I/O 1.8V J6.15 77 PB13 RXD5 Receive data ttyS6
J7.16 106 PC10 CTS3 Clear to send ttyS4 1.8V J6.16 76 PB12 TXD5 Transmit data ttyS6
J7.17 103 PC7 Red led line 1.8V J6.17 85 PB21 General purpose I/O
J7.18 104 PC8 RTS3 Request to send ttyS4 1.8V J6.18 84 PB20 General purpose I/O
J7.19 101 PC5 General purpose I/O 1.8V J6.19 95 PB31 General purpose I/O
J7.20 102 PC6 Reserved line. Used to read if the client USB port is wired to a PC J6.20 94 PB30 General purpose I/O
J7.21 73 PB9 RXD2 Receive data ttyS3 J6.21 63 PA31 TXD4 Transmit data ttyS5
J7.22 72 PB8 TXD2 Transmit data ttyS3 J6.22 62 PA30 RXD4 Receive data ttyS5
J7.23 BATT RTC Battery input J6.23 N.C. (See the schematic)
J7.24 PGD Power good NetusPS1 J6.24 38 PA6 General purpose I/O
J7.25 POK 3.3V NetusPS1 aux output stable J6.25 39 PA7 General purpose I/O
J7.26 SHDNPS# PS1 shutdown. Active low J6.26 41 PA9 General purpose I/O
J7.27 NRST Reset output J6.27 99 PC3 AD3 Analog input 3
J7.28 SHDN# Turn off the CPU when low J6.28 98 PC2 AD2 Analog input 2
J7.29 5V 5 volt power line J6.29 97 PC1 AD1 Analog input 1
J7.30 WAKEUP Wake up input J6.30 96 PC0 AD0 Analog input 0
J7.31 87 PB23 DCD0 Data carrier detect ttyS1 J6.31 56 PA24 SCL I2C Clock
J7.32 86 PB22 DSR0 Data set ready ttyS1 J6.32 55 PA23 SDA I2C Data
J7.33 89 PB25 RI0 Ring indicator ttyS1 J6.33 AVDD Clean 3.3V out for A/D circuitry
J7.34 88 PB24 DTR0 Data terminal ready ttyS1 J6.34 VREF A/D voltage reference input
J7.35 60 PA28 General purpose I/O J6.35 AGND Analog ground
J7.36 59 PA27 General purpose I/O J6.36 42 PA10 General purpose I/O
J7.37 58 PA26 General purpose I/O J6.37 54 PA22 General purpose I/O
J7.38 57 PA25 General purpose I/O J6.38 43 PA11 General purpose I/O
J7.39 3.3V 3.3 volt power line J6.39 GND Signal ground
J7.40 3.3V 3.3 volt power line J6.40 GND Signal ground