botletics / SIM7000-LTE-Shield

Botletics SIM7000 LTE CAT-M1/NB-IoT Shield for Arduino
https://www.botletics.com/products/sim7000-shield
GNU General Public License v3.0
477 stars 216 forks source link

SIM7000 PwrKey pulse duration in powerOn() is not adequate, per manufacturer's specifications #224

Closed nt7u closed 3 years ago

nt7u commented 3 years ago

I've had issues with bringing up a SIM7000A board that resulted in a discovery. The function Adafruit_FONA::powerOn(uint8_t FONA_PWRKEY) results in a 100 ms pulse on the PWRKEY line yet from what is specified in the SimCom documentation (SIM7000 Series Hardware Design V1.07, Page 24 of 69, Figure 10 & Table 8), the Minimum duration for that active low level pulse should be at least 1 second (1000 ms).

Please update the code to be compliant.

Also note that the Status output, UART, and USB will also not become active for at least 4.5 seconds after the FALLING EDGE of that pulse (leading edge). This suggests that one might need to wait additional time before trying to interact with the module. I found that bringing PWRKEY low for 1.2 seconds followed by another 3.8 seconds of waiting worked consistently and reliably for my application.

botletics commented 3 years ago

Thanks for catching the typo!