Skip to main content
Associate II
October 20, 2025
Question

WARNING: Software can kill your s2-lp

  • October 20, 2025
  • 2 replies
  • 402 views

Hi there

I am working on a custom board with a s2-lp radio on it. The only difference to the STM generate s2-lp SubGhz project is that I use PA5 for radio_sck (see attached Project). After playing a while with my I-NUCLEO-S2868A2 shields suddenly the basic minimal p2p example does not work anymore. When I press the button is pressed I see a call to app_x-cube-subg2:c:Set_KeyStatus and the a packet is send in app_x-cube-subg2:c:MX_SUBG2_P2P_Process->AppliSendBuff(&xTxFrame, xTxFrame.DataLen);. However the software stays forever in app_x-cube-subg2:c:MX_SUBG2_P2P_Process in the SM_STATE_WAIT_FOR_TX_DONE e.g. I get no Interrupt from the Radio in the P2PInterruptHandler where  the xTxDoneFlag should set. You can check in the attached Project that the Interrupt should be triggered by the falling edge, Spi clock is 625kBps, I use 8 bit words for the bus. The explanation I have killed my radio, but this must be impossible!!!!

2 replies

badiwAuthor
Associate II
October 20, 2025

Here is the Project.

Visitor II
October 20, 2025

I have noticed, that the code could not be uploaded. So here are the repos: fot l476rg and f401re:

https://github.com/tobbad/n64l476rg_s2lp_p2p_minimal.git

https://github.com/tobbad/n64f401re_s2lp_p2p_minimal.git

badiwAuthor
Associate II
October 22, 2025

Now another day latter is does not work!!!!!!!!!!!!!!!!!! Why is it so unstable!!!!!!!!!!!!!