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

Custom RADIO protocol examples on the nRF51822

Are there any examples/samples of implementing a custom radio protocol on the nRF51822?

Parents
  • These two Keil projects in the SDK show a low-level rx and tx implementation without requiring a SoftDevice:

    C:\Keil_v5\ARM\Device\Nordic\nrf51822\Board\nrf6310\radio_example\arm\radio_tx_example.uvprojx

    C:\Keil_v5\ARM\Device\Nordic\nrf51822\Board\nrf6310\radio_example\arm\radio_rx_example.uvprojx

    You can download the SDK here under the tab Downloads.

    The frame structure used by the nRF51822 is shown in Figure 19 in the nRF51 reference manual v2.1 (See below). You can set the length of the S0, Length, and S1 fields to zero when you implement your own protocol. However, to my knowledge the 1 Byte Preamble is fixed and you have to use an address of at least 3 Bytes length (2 Byte base address and 1 Byte prefix). The length of the CRC field can also be set to zero to disable CRC calculation.

    image description

Reply
  • These two Keil projects in the SDK show a low-level rx and tx implementation without requiring a SoftDevice:

    C:\Keil_v5\ARM\Device\Nordic\nrf51822\Board\nrf6310\radio_example\arm\radio_tx_example.uvprojx

    C:\Keil_v5\ARM\Device\Nordic\nrf51822\Board\nrf6310\radio_example\arm\radio_rx_example.uvprojx

    You can download the SDK here under the tab Downloads.

    The frame structure used by the nRF51822 is shown in Figure 19 in the nRF51 reference manual v2.1 (See below). You can set the length of the S0, Length, and S1 fields to zero when you implement your own protocol. However, to my knowledge the 1 Byte Preamble is fixed and you have to use an address of at least 3 Bytes length (2 Byte base address and 1 Byte prefix). The length of the CRC field can also be set to zero to disable CRC calculation.

    image description

Children
No Data
Related