Hi. After a day of troubleshooting why the SIM card doesn’t get detected by any modem (Sierra Wireless EM7455, Foxconn T77W968) in my new Rock 5B+, I found that the board has a design flaw.
All these modems expect the SIM detection pin (SIM1_DET) to be active high. Or more specifically, the pin of the modem is an open drain input, with a built-in pull up, and the board is expected to pull it low if a SIM card isn’t present. But instead, the board has a SIM card slot where the detection pin (SW) is in physical contact with the SIM card’s ground pad, so it’s pulled low when a SIM card is present, and then this is wired directly to SIM1_DET.
I know that some modems allow flipping the detection level (e.g. via AT+QSIMDET), and some might ignore the status of the detection pin and try to probe for a SIM card anyway, but lots of them don’t. And it would also be a pain to have to configure every modem specifically for the Rock 5B+, and then revert it when using it in another system. Please modify the next board revision to invert the level in hardware.
And for any users, as a workaround, taping up over the SW pin in the SIM card slot like in my photo does the job. But the SIM card will have to be present at boot time, and can’t be hot swapped.