Skip to main content
Hvan .4
Associate II
Apr 6, 2022 6:33 PM UTC
Solved

S2-LP P2P example failing after 2 packets received

I'm not sure if the failure is in tx or rx.

The full generated project is attached

tested on dual nucleo-f401RE+S2868A1 boards

test protocol: reset both boards, click few times on blue button of a board, and see it just blink twice on the other board.

I have no clue where to find the problem, I just see the example is failing fast, and when pushing a button the app think it does send radio frame.

(it goes to: SM_STATE_SEND_DATA, SM_STATE_WAIT_FOR_TX_DONE and back to SM_STATE_START_RX )

stm32cubeide 1.8.0

SUB2G lib+example: 4.2.0

    This topic has been closed for replies.
    Hvan .4
    Hvan .4Best answer
    Associate II
    Apr 6, 2022 8:27 PM UTC

    it was as stupid as I simply forgot to reduce spi frequency bus from prescaler.

    I'm suprised it works a bit at this frequency.

    you can delete or move this post as solved :)

    1 reply

    Hvan .4
    Hvan .4AuthorBest answer
    Associate II
    Apr 6, 2022 8:27 PM UTC

    it was as stupid as I simply forgot to reduce spi frequency bus from prescaler.

    I'm suprised it works a bit at this frequency.

    you can delete or move this post as solved :)