An example of using the low-level Sub-GHz Phy driver in a standalone fashion. This example duplicates the high-level functionality of the SubGHz_Phy_PingPong example in the STM32CubeWL MCU Package. Two NUCLEO-WL55JC1 boards are required, one of which will act as the master and the other will act as the slave. Initially, both boards are in the master state sending "PING" messages at random intervals and waiting for responses. Eventually, the two boards synchronize and only one device sends "PING" and the other sends "PONG" as a response.
To build the application, follow the steps outlined in the tutorial: Using the Low-Level Sub-GHz Radio Driver for the STM32WL Series. Then, simply replace the main.c
in the project with one of the main_xxxx.c
files in this repository (depending on which modulation scheme you want).