I am using SPSGRF-868 module on a medical device. I am trying to get the connection established between acquisition board(transmitter) with the Main display board (receiver). Both have this module configured in P2P mode.
I used a code base from STM32CubeExpansion_SUBG1_V2.0.0 - I am using F4 controller @ both sides.
Essentially same code base.
Seems to do its job. Confirmed SPIs CLK and other things.
P2P_Process @ receiver side does not receive anything. Perhaps, sending is not proper. Not sure.
I am setting state machine to SM_STATE_START_RX for receiving and SM_STATE_SEND_DATA for transmitting before P2P_Process call.
Only change in my implementation is GPIO IRQs (Tx/Rx) are not configured. In my board the module GPIOs(all 4)are grounded and NOT connected to processor. Is it necessary to connect and configure for this code base to work?