Skip to main content
Son, Dong-Seong
Associate III
June 10, 2025
Question

simple code for S2LP

  • June 10, 2025
  • 1 reply
  • 269 views

Hello,
Could you please provide a simple example source code to operate an S2-LP transceiver under the following conditions? My MCU is an STM32F103 connected via SPI1.

  1. A 25 MHz crystal is fitted to the S2-LP.

  2. External SMPS (1.8 V) is used.

  3. I want to transmit at 420 MHz with 0 dBm output power.

  4. Data rate is 10 kbps, using 2-GFSK modulation with 20 kHz frequency deviation.

  5. Payload is any 20 bytes of data.

Thank you!

1 reply

Andrew Neil
Super User
June 11, 2025

Have you looked on the 'Tools & Software' tab of the Product Page:

https://www.st.com/en/wireless-connectivity/s2-lp.html#tools-software

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.