annotate sim-card-detect @ 378:82fb5a70c9fd

compal/audio: results of simple experiments
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Oct 2021 23:20:00 +0000
parents 82d5cc869bf1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
368
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 On the Mother's D-Sample board the SIM card status register (FFFE:0002)
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 reads:
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 0x000A (CD bit 0) when the SIM socket is empty
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 0x000B (CD bit 1) when a card is inserted and the switch is shorted
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 These register readings match CAL207 register document.
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 On FCDEV3B Calypso SIM_CD input is tied high following Leonardo and Openmoko,
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 and the register reads 0x000B - thus we reach the conclusion that CAL000
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 document is correct in that logic high on SIM_CD is supposed to indicate SIM
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 inserted, whereas logic low is supposed to indicate an empty SIM socket.
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 However, the netlist extracted from the PADS PCB file for E-Sample (Calypso+
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 chipset) shows the opposite arrangement: it shows a pull-up resistor to V-IO on
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 the SIM-CD net, and the switch in the SIM socket shorts this net to ground.
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 Perhaps the sense of this signal is inverted on Calypso+? We have no way of
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 knowing because we have no documentation for Calypso+, but we do know that its
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 ABB companion Syren reversed the sense of its test reset signal (relative to
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 Iota) for no apparent reason, hence such signal polarity reversals are not out
82d5cc869bf1 sim-card-detect observations note added
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 of the question.