mcci-catena / Catena-Arduino-Platform

Arduino platform library for MCCI Catena IoT Systems
MIT License
12 stars 11 forks source link

When running on HSI clock (MCCI STM32L0 devices), clock error must be set #313

Closed terrillmoore closed 3 years ago

terrillmoore commented 3 years ago

Some STM32L0 devices (such as my test device) won't join reliably if clock error is zero; the HSI clock is too far off. Until we switch to using the 32kHz crystal, we must set a clock error by default in CatenaStm32L0::LoRaWAN::begin().