From 4086f4cf46a8f508766eeaad03450a4d7845f194 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 22 Mar 2012 22:55:14 +0100 Subject: simtrace: implement SIM power switching API there is now a high-level command by which we can swithc the VCC supply of the SIM cards. For some reason, the _PASS variant (passing through the voltage from the phone) doesn't seem to work reliably. It might be that we are draining reverse current throught the LDO once we supply SIM power that way. --- firmware/src/simtrace.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/src/simtrace.h') diff --git a/firmware/src/simtrace.h b/firmware/src/simtrace.h index b6d44c4..f3ddf23 100644 --- a/firmware/src/simtrace.h +++ b/firmware/src/simtrace.h @@ -36,8 +36,8 @@ #define SIMTRACE_PIO_VCC_SIM AT91C_PIO_PA5 /* 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 +#define SIMTRACE_PIO_SIM_LDOEN AT91C_PIO_PA5 +#define SIMTRACE_PIO_SIM_nPWRFWD AT91C_PIO_PA26 /* VCC_PHONE detection */ #define SIMTRACE_PIO_VCC_PHONE AT91C_PIO_PA25 -- cgit v1.2.3