![]() ![]() That is, one board can be programmed with the above application and the other with the SubGHz_Phy_PingPong application, and they will both work together as expected. Note that these examples are compatible with the SubGHz_Phy_PingPong example. Lastly, build the project and use it to program both Nucleo boards. Then, simply replace the contents of the project’s main.c file with the contents of one of the files in the GitHub Repository, depending on which modulation scheme you wish for the example to utilize. To execute the application, follow the steps provided in the previous section to create a project which includes the low-level sub-GHz radio driver. Eventually, the two boards synchronize so only one device sends “PING” messages and the other device sends “PONG” messages in response. Initially, both boards are in the master state sending “PING” messages at random intervals and waiting for responses. Two NUCLEO-WL55JC1 boards are required to run these examples, one of which will act as the master while the other will act as the slave. The project structure should now appear as shown.įigure 1: Low-level radio driver Ping Pong example project finite state machine Rename the file radio_conf_template.h to radio_conf.h.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |