cancel
Showing results for 
Search instead for 
Did you mean: 

WARNING: Software can kill your s2-lp

badiw
Associate II

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!!!!

1 REPLY 1
badiw
Associate II

Here is the Project.