FreeCalypso > hg > fc-magnetite
annotate doc/Tango-pinmux @ 682:17b7b92e7dba
uartfax.c: fix for old Openmoko bug with Auto-CTS
Openmoko made the change of enabling hardware assisted CTS flow control
in the UART when RTS/CTS flow control is used - it is a change which we
have retained in FreeCalypso - but they forgot to turn this hw mode off
if RTS/CTS flow control is deselected at the application level. We
(FreeCalypso) are now fixing the latter defect ourselves.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 26 Jun 2020 02:53:02 +0000 |
parents | 52ee171ff5e4 |
children |
rev | line source |
---|---|
679
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 FreeCalypso Tango is a Calypso core module with the special quality of having |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 many Calypso signals brought out on the user interface connector. Out of the |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 great many Calypso signals that are brought out, the following 8 pins are |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 subject to functional multiplexing concerns: |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 GPIO1 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 GPIO2 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 GPIO3 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 RESET_OUT/GPIO7 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 MCSI_TXD/GPIO9 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 MCSI_RXD/GPIO10 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 MCSI_CLK/GPIO11 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 MCSI_FSYNCH/GPIO12 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 All 8 are capable of functioning as GPIOs, meaning that a Tango-based custom |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 application board designer can use them for whatever purpose they like, but |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 some of them can also be configured as dedicated Calypso peripheral pins, |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 particularly MCSI. Others (GPIO1-3) have software-defined conventional |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 functions based on long-standing tradition. |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 The special complication that arises for our firmware with regard to these GPIO |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 and multifunction pins is that it is not our place as the firmware vendor to |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 dictate to our potential customers how they should wire these pins on their |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 boards. Instead an FC Tango customer should be able to wire up their board as |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 their application calls for, subject to constraints imposed by hardware (not by |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 firmware!), and our standard fw needs to work with every reasonable possibility |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 for user wiring of our GPIO and multifunction pins. The following practical |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 cases need to be addressed: |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 * If a customer chooses to use any of our GPIOs as an input, feeding some |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 external output to it, there needs to be a way to tell our fw to leave that GPIO |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 as an input and not switch it to an output. |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 * Conversely, if a given GPIO or multifunction pin is unused or not needed in a |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 given application, the app board designer should have the freedom to either tie |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 it off or leave it unconnected. If some of our GPIO or multifunction pins are |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 left unconnected, this fact needs to be communicated to our fw so it can |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 configure them as dummy outputs, preventing floating inputs. |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 * Some applications will use MCSI, while others won't. If a given application |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 does not use MCSI, the 4 pins (or any subset of them) can be used as GPIOs, |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 either inputs or outputs, or the unused pins may be left unconnected. |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 * GPIO3 is traditionally defined (by conventions going back to TI) as DTR input |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 - but not every application will have a sensible DTR signal to feed to this pin. |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 If there is no DTR signal in a given application, the app board designer should |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 be able to either use GPIO3 for some unrelated purpose, or leave it unconnected. |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 * GPIO2 is similarly defined as DCD output by the same traditional conventions. |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 Because it is an output from Calypso, it can be simply ignored and left |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 unconnected if it is not needed - but a user should also be able to use the GPIO |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 for unrelated purposes. |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 * There exist several historical conventional functions for GPIO1 output: |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 loudspeaker control (D-Sample, Leonardo, FCDEV3B), Openmoko's application |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 processor wake-up signal, or RI modem control output. We allow any of these |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 options, plus other arbitrary uses. |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 FreeCalypso solution |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 ==================== |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 Our solution for firmware build target tangomdm (standard shipping fw for Tango |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 modems) is that our fw will look on boot for a file in FFS named |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 /etc/tango-pinmux; it will be a binary file of 4 bytes, defining pin |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 multiplexing configuration as follows: |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 Byte 0: GPIO1 config |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 The following values are defined: |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 0x00: GPIO1 is left as an input from power-up |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 0x80: GPIO1 is switched to an output, initial value 0 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 0x81: GPIO1 is switched to an output, initial value 1 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 0x82: GPIO1 is wake-up output per Openmoko GTA01/02 convention |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 0x83: GPIO1 is RI output |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 Byte 1: GPIO2 and GPIO3 config |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 Bit 7: if 1, GPIO3 is DTR input, other bits in this nibble ignored |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 if 0, GPIO3 is a "generic" GPIO (undefined function) per bits 5 and 4 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 Bit 5: if 1, GPIO3 is an output, otherwise it's an input |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 Bit 4: initial output value if GPIO3 is an output |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 Bit 3: if 1, GPIO2 is DCD output, other bits in this nibble ignored |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 if 0, GPIO2 is a "generic" GPIO (undefined function) per bits 1 and 0 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 Bit 1: if 1, GPIO2 is an output, otherwise it's an input |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 Bit 0: initial output value if GPIO2 is a generic (not DCD) output |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 Byte 2: Peripheral pin mux config |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 Bit 7: if 0, MCSI pins retain their default power-up functions |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 if 1, MCSI pins are switched to being GPIOs |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
94 Bit 3: if 0, RESET_OUT pin retains its default power-up function |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
95 if 1, RESET_OUT pin is switched to being GPIO7 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
96 Bit 1: if 1, GPIO7 is an output, otherwise it's an input |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 bit 0: initial output value of GPIO7 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 Byte 3: I/O config of MCSI pins turned into GPIOs |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
100 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
101 This byte will be considered only if Byte 2 Bit 7 is set to 1, and will be |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
102 ignored otherwise. |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
103 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
104 Bit 7: GPIO12 direction: 1 means output, 0 means input |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
105 Bit 6: GPIO11 direction: 1 means output, 0 means input |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
106 Bit 5: GPIO10 direction: 1 means output, 0 means input |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
107 Bit 4: GPIO9 direction: 1 means output, 0 means input |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
108 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
109 Bit 3: GPIO12 initial output value |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
110 Bit 2: GPIO11 initial output value |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
111 Bit 1: GPIO10 initial output value |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
112 Bit 0: GPIO9 initial output value |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
113 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
114 If the /etc/tango-pinmux file is missing, the effect will be the same as if all |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
115 four bytes are equal to zero: GPIO1-3 will be functionally-undefined inputs, |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
116 RESET_OUT/GPIO7 will be left as RESET_OUT from power-up, and all 4 MCSI pins |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
117 will be likewise left in their power-up default MCSI function. |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
118 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
119 Any GPIO that is configured as an input can be read with AT+IOR, and any GPIO |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
120 that is configured as a generic (not built-in function) output can be set with |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
121 AT+IOW. |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
122 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
123 Other GPIO pins |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
124 =============== |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
125 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
126 Calypso pins GPIO0, TSPDI/GPIO4, BCLKX/GPIO6, MCUEN1/GPIO8 and MCUEN2/GPIO13 |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
127 are not brought out externally on Tango modules, thus they don't need to be |
52ee171ff5e4
doc/Tango-pinmux: definitions laid down
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
128 considered. Our fw configures them as dummy outputs to prevent floating inputs. |