[Visit https://www.nuvoton.com/iot_startup for more IoT solutions]
The NuMaker-LoRaD-M252 is a development board designed for LoRa applications. It features a Reyax RYLR890 or RYLR400 module with a Semtech SX1276 RF chip. It offers both Mbed OS and non-RTOS NuLoRaNode versions for LoRaWAN development. NuLoRaNode is a port of open-source examples provided by Semtech.
For RF communication verification, a simple ping-pong program is a good way. Although Semtech's development package includes a ping pong example, it's not fully ported to NuLoRaNode. Please download the attached zip file
and follow these steps to create a Keil MDK project for the ping pong example, then compile it.:
- Open the Windows Command Prompt.
- Download NuLoRaNode using the git tool:
- git clone --recursive https://github.com/OpenNuvoton/NuLoRaNode
- Change directory to .\NuLoRaNode\NuLoRaMac\src\apps
- Save and unzip the attached zip file in the apps directory.
- A ping-pong directory will appear in the apps directory.
- Change directory to .\ping-pong\board\NuMaker-IOT-M252\KEIL. Click ping-pong.uvprojx to open it in Keil MDK.
- Compile and flash to two NuMaker-LoRaD-M252 boards. LEDR1 on both boards will flash when the ping-pong operation is successful.
Enjoy it.