Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Bugs
Bugs¶
- XTAL configuration
- PA channel
- TX timer overflow
- RX error
XTAL configuration¶
By default, the RF carrier is set to LF 434MHz with 32MHz external Crystal. The POR default value for RegFrfMsb/RegFrfMid/RegFrfLsb registers are 6C8000.
Due to unknown historical reason, the supplier of RFM100L released source code in a wrong RF carrier configuration. It seems to setup a carrier on 433MHz with 26MHz. However the module has 32MHz crystal on board, therefore its code is running on 532.92MHz, which beyond Semtech's specification for 525MHz for LF band.
PA channel¶
After carefully compare the schematics between official dev boards from Semtech and RF module manufacturers, we found out:
- Semtech SX1276 use 14dBm RFO_LF/HF as RF output
- SX1278 RF modules usually use 20dBm PA_BOOST pin as RF output
Therefore, if we reuse SX1276Lib, the receiver will get very weak signal around -120dBm, since it has no matching antenna at all.
TX timer overflow¶
If system timer to used to trigger TX mode, the system time must be reset, and keep it running after that reset. Otherwise the system timer will overflow about 30 minutes.
RX error¶
The STM32L053R8/mbed5 port shows up RX_TIMEOUT_OR_ERROR on terminal, while STM32F103RB/mbed2 doesn't show up such error at very beginning. And we found it is caused by CRC ERROR,something wrong with register setup. That was proved by synchronization of SX1276Lib.