FreeCalypso > hg > freecalypso-reveng
view sim-card-detect @ 403:50c0fac9a4a8
compal/boot/c118-dfboot.disasm: new analysis
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 15 Jan 2023 00:54:33 +0000 |
parents | 82d5cc869bf1 |
children |
line wrap: on
line source
On the Mother's D-Sample board the SIM card status register (FFFE:0002) reads: 0x000A (CD bit 0) when the SIM socket is empty 0x000B (CD bit 1) when a card is inserted and the switch is shorted These register readings match CAL207 register document. On FCDEV3B Calypso SIM_CD input is tied high following Leonardo and Openmoko, and the register reads 0x000B - thus we reach the conclusion that CAL000 document is correct in that logic high on SIM_CD is supposed to indicate SIM inserted, whereas logic low is supposed to indicate an empty SIM socket. However, the netlist extracted from the PADS PCB file for E-Sample (Calypso+ chipset) shows the opposite arrangement: it shows a pull-up resistor to V-IO on the SIM-CD net, and the switch in the SIM socket shorts this net to ground. Perhaps the sense of this signal is inverted on Calypso+? We have no way of knowing because we have no documentation for Calypso+, but we do know that its ABB companion Syren reversed the sense of its test reset signal (relative to Iota) for no apparent reason, hence such signal polarity reversals are not out of the question.