Project

General

Profile

Actions

Bug #4118

open

VCC_PHONE strong pull on SIMtrace board

Added by tsaitgaist over 4 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
Category:
hardware
Target version:
-
Start date:
07/18/2019
Due date:
% Done:

0%

Spec Reference:

Description

A complex behavior I identified while testing card emulation:
- although the phone does not power the card (the SIMtrace board, v1.4) through VCC_PHONE, VCC_PHONE was at 3.2V (after power up)
- VCC_PHONE should be pulled down by R19 (100k resistor)
- VCC_PHONE is also connected to the FLAGB output of the FPF2109. but this output is only an open-drain (can't drive high), and connected through a 100k resistor R22 (driving high could not be strong enough to set VCC_PHONE to 3.2V)
- when VCC_PHONE is briefly shorted to ground (pulling low with less than 1kR), VCC_PHONE then goes and stays at 0.6V

the issue comes from the FPF2109.
VCC_PHONE is connected to VIN, which should only be an input. VCC_SIM is connected to VOUT, which should only be an output.
VCC_SIM is also the output of the AP7332 voltage regulator.
the output from AP7332 goes in FPF2109 as VCC_SIM, through the FPF2109 internal MOSFET body diode (presumably), back out to VCC_PHONE.
the FPF2109 has an internal reverse blocking mechanism. this is probably kicking in when VIN is shorted to ground. 0.6V still pass through.

this is an issue because holding VCC_PHONE high prevents the firmware to properly detect activation (power up) and cold reset of the card.
some card readers pull/drive VCC low (omnikey 6321), but I'm not sure all modems do.

TODOs:
- R22 is not needed and can be removed (the FLAGB output is not used)
- the R19 pull down resistor is also not needed since R20+R21 (resistor divider) already form a 20k pull down resistor
- ensure the on-board regulator for VCC_SIM is switched off
- switching the regulator off would prevent using SIMtrace as independent card reader while card emulation is used (this is not an issue for MitM since the phone powers the card when needed)
- better find out/test how the reverse current protection works


Related issues

Related to SIMtrace 2 - Feature #1706: Hardware / Circuit board update for SAM3S based SIMtrace2 with 1.8V/5V supportIn Progressmschramm05/09/2016

Actions
Related to SIMtrace 2 - Feature #1912: do proper re-layout of the boardStalledmschramm01/12/2017

Actions
Actions #1

Updated by laforge about 3 years ago

  • Assignee changed from tsaitgaist to mschramm

mschramm, let's investigate this further, please.

Actions #2

Updated by laforge over 1 year ago

laforge wrote in #note-1:

mschramm, let's investigate this further, please.

ping?

Actions #3

Updated by mschramm over 1 year ago

  • Related to Feature #1706: Hardware / Circuit board update for SAM3S based SIMtrace2 with 1.8V/5V support added
Actions #4

Updated by mschramm about 1 year ago

  • Related to Feature #1912: do proper re-layout of the board added
Actions #5

Updated by mschramm about 1 year ago

I am not sure whether we should put any efforts in here, but rather avoid a similar problem in an upcoming new design.

The FPF2109 is EOL since mid of last year, and last buy is in two month. We need to look for an alternative part anyway (this is also true for the ngff-cardem)

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)