aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/libcommon/source/simtrace_iso7816.c
diff options
context:
space:
mode:
authorKévin Redon <kredon@sysmocom.de>2019-07-18 18:50:51 +0200
committerKévin Redon <kredon@sysmocom.de>2019-07-18 18:50:58 +0200
commit90abc09cf3138e95b8d28418f75e828b575edffb (patch)
tree4d059943a44b4996cf2045f19b4402a81ad0e206 /firmware/libcommon/source/simtrace_iso7816.c
parent76c2eebae250150885a61d08bba2aec20c0d2da2 (diff)
cardem: ensure VCC_PHONE is floating
this change is mainly relevant for the SIMtrace board, but also affects the others. First we ensure VCC_PHONE is not forwarded to VCC_SIM because the card could affect the signal (card could draw too much current or feed back current in). next we disable VCC_SIM. the card slot does not need to be powered, and the FPF2019 leaks current back to VCC_PHONE, even with forwarding disabled (the reverse current protection only kicks in when VCC_PHONE is briefly shorted to ground, but still leaks 0.6V). enable the ADC channels normally used to measure VCC, even if not used. the dedicated ADC pins leak current when left unconfigured. enabling them puts them in high impedance. Change-Id: If1487c1c191838aaa08b654e49cd31c7180ffc19
Diffstat (limited to 'firmware/libcommon/source/simtrace_iso7816.c')
0 files changed, 0 insertions, 0 deletions