summaryrefslogtreecommitdiff
path: root/firmware/src/simtrace.h
diff options
context:
space:
mode:
authorKevin Redon <kevredon@mail.tsaitgaist.info>2011-12-18 08:35:20 +0100
committerHarald Welte <laforge@gnumonks.org>2011-12-18 08:35:20 +0100
commit2a3d3624be53a3d172465829ea92c824825ea120 (patch)
treeee6854ad55eb56614467cba0ff3d9019a432402a /firmware/src/simtrace.h
parentebf16b4ddf0dcbadf96aebdec3304f703917fdc7 (diff)
Make sure we don't forward power _and_ supply SIM power at the same time
The FPF2005 has no reverse voltage blocker, this is why the 3.3V from the LDO flows back into VCC_PHONE. It even damages the chip (so says the datasheet) I corrected the double power source problem by disabling the LDO (see patch), but still 1.8V does not work and 3.0-3.3V is used. I have to look for other reasons.
Diffstat (limited to 'firmware/src/simtrace.h')
-rw-r--r--firmware/src/simtrace.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/firmware/src/simtrace.h b/firmware/src/simtrace.h
index 40ed3ab..b6d44c4 100644
--- a/firmware/src/simtrace.h
+++ b/firmware/src/simtrace.h
@@ -30,8 +30,17 @@
#define SIMTRACE_PIO_SC_SW AT91C_PIO_PA20
#define SIMTRACE_PIO_IO_SW AT91C_PIO_PA19
+/* to set power for VCC_SIM for early prototype
+ * unused pin in v1.0p
+ */
#define SIMTRACE_PIO_VCC_SIM AT91C_PIO_PA5
-#define SIMTRACE_PIO_VCC_PHONE AT91C_PIO_PA30
+
+/* to set power source for VCC_SIM for v1.0(p) */
+#define SIMTRACE_PIO_SIM_PWREN AT91C_PIO_PA5
+#define SIMTRACE_PIO_SIM_PWRFWD AT91C_PIO_PA26
+
+/* VCC_PHONE detection */
+#define SIMTRACE_PIO_VCC_PHONE AT91C_PIO_PA25
/* SPI flash */
#define PIO_SPIF_nWP AT91C_PIO_PA15
personal git repositories of Harald Welte. Your mileage may vary