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

Range Test 802.15.4 radio

I'm looking for a nodified 'Wireless UART example" that I can use for a range test.

https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/wireless_uart_15_4.html

At one side I can connect a PC with a UART, but on the other side I have only the nRF52840DK wit a battery pack. With this example I need 2 UARTs connected.

The LED's from the example will be sufficient for a test, that the second board sends the received packets back to the first board.

The output of 8dBm is needed to test the maximum range.

Thanks

Knut

Parents
  • Hi.

    For a simple range test, use this firmware as transmitter: transmitter.hex

    The UART interface for the transmitter uses 8N1, baudrate 115200

    Commands you need:

    Transmit frame:
    transmit on 4198030405060708090a0b0c0d0e0f

    Set TX power:
    tx_power 8

    Select channel:
    channel 19

    For receiver, flash this file:

    receiver_dk.hex

    ----------------------------------------------------------------------------------------

    Testing:

    First, set channel to 19 since the receiver is hardcoded to channel 19.

    Second, set the tx power to your desired level with tx_power.

    Send frames by pasting transmit on 4198030405060708090a0b0c0d0e0f

    You will see that LED4 on the DK will toggle when it receives a packet

    I captured the packets in Wireshark to make sure that it works:

    Best regards,

    Andreas

Reply
  • Hi.

    For a simple range test, use this firmware as transmitter: transmitter.hex

    The UART interface for the transmitter uses 8N1, baudrate 115200

    Commands you need:

    Transmit frame:
    transmit on 4198030405060708090a0b0c0d0e0f

    Set TX power:
    tx_power 8

    Select channel:
    channel 19

    For receiver, flash this file:

    receiver_dk.hex

    ----------------------------------------------------------------------------------------

    Testing:

    First, set channel to 19 since the receiver is hardcoded to channel 19.

    Second, set the tx power to your desired level with tx_power.

    Send frames by pasting transmit on 4198030405060708090a0b0c0d0e0f

    You will see that LED4 on the DK will toggle when it receives a packet

    I captured the packets in Wireshark to make sure that it works:

    Best regards,

    Andreas

Children
No Data
Related