mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
qmod: lower VCC threshold to 2.5V
on the QMOD board the VCC signal from the modem is measured using an ADC (SIMtrace board just use card detect). the threshold to consider VCC as activated was set to 2.8V, which gives a bit of margin for the expected 3.0V. still, we had one board where the voltage was 2.8V. to be resilient against lower than expected voltages from modems (or boards), we lowered the threshold to 2.5V. this is still save for the SAM3S to correctly identify high/low levels. Change-Id: Iac2778903690045e4e63fef29f812205d00c28ed
This commit is contained in:
@@ -309,7 +309,7 @@ static int card_vcc_adc_init(void)
|
||||
}
|
||||
|
||||
#define VCC_UV_THRESH_1V8 1500000
|
||||
#define VCC_UV_THRESH_3V 2800000
|
||||
#define VCC_UV_THRESH_3V 2500000
|
||||
|
||||
static void process_vcc_adc(struct cardem_inst *ci)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user