This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is it possible to do RX-to-TX using 802.15.4 in same program?

Hello everyone,

I just started working with 802.15.4 using nRF52840. I wanted to know weather we can do RX-to-TX using 802.15.4. If yes what are the API's available to do this.

Thanks in advance. 

  • Hi

    Can you please specify what it is you want to do, as it can be one of two things as far as I understand from your initial question.

    1. You want to transmit and receive at the same time. This won't be possible as the nRF52840 only has one radio, and can only do one of these at a time.

    2. You want the device to function as a relayer, and every time you receive data, you want it to transmit it onwards. If that's what you're after, please check out the ble_app_hrs_rscs_relay example, to see how that is set up to handle data and switch between RX and TX, and you should be able to work that into an 802.15.4 project.

    If I have misunderstood you and none of these applications are what you are aiming to achieve, please explain in detail what exactly the goal of your project is, and what you're after.

    Best regards,

    Simon

  • Thanks for replying.

    Sorry for not explaining the goal of the project in detail. I want to create a TiSCH network using 802.15.4.

    The experiment setup is as follows:

    • The transmitter will transmit the packets for every 7.8 Sec ( Board 1 as 1st pan_coordinator).
    • The receiver will be in scan mode (Board 2), once the packet is received from the transmitter-the receiver follows the transmitter for N channel hops.
    • Then the Board 2 should be configured to transmitter after N channel hops and act as an 2nd pan_coordinator.

    Is it possible to achieve this.

    Thanks in Advance.

  • Hi

    Yes, this should be possible, although we don't have any 802.15.4 examples doing channel hopping I'm afraid. I suggest you start out seeing how the relayer example is set up to switch from RX to TX.

    Best regards,

    Simon

  • Thank you, I will check the example and start the implementation for 802.15.4. 

Related