100%
wcnes-project2024_g2 backscatter-tag view
Description

Imported from GitHub: shankars-git/wcnes-project2024_G2 · commit 876616b · license BSD-3-Clause

Description

Backscatter project based on Raspberry Pi Pico

README

Pico-Backscatter: carrier-CC2500

Decription

Carrier generator using the Mikroe-1435 (CC2500) on the Pico. The stdout (printf) has been directed to USB. The carrier is configured for 2450 MHz by default.

Radio wiring information

The example here uses SPI 0.

  • GPIO 5 Chip select
  • GPIO 18 SCK/spi0_sclk
  • GPIO 19 MOSI/spi0_tx

Radio Settings

Radio Settings - Option 1 (dynamic):

The CC2500 radio settings can be configured at run time using the provided functions in project_pico_libs.

Radio Settings - Option 2 (SmartRF Studio/more optimized):

Alternatively, he radio settings and configuration can be generated using SmartRF Studio and the datasheet of the corresponding module. Notice that the the configured baudrate of the Pico may be imprecise and differ from the one that the radio should be using. To export the register settings compatible with the provided examples, you can add a new template with the following settings (Register Export -> New ->):

  • Header
    #ifndef RF_SETTING
    #define RF_SETTING
    struct rf_setting {
        uint8_t address;
        uint8_t  value;
    };
    typedef struct rf_setting RF_setting;
    #endif
    
    RF_setting radio_settings[] = {
    
  • Body:
        {.address = 0x@ah@,@<<@ .value = 0x@VH@}, // @CHIPID@_@RN@: @Rd@
    
  • Footer };

Additionally, notice that the exported register configuration of SmartRF Studio does not contain the transmission power setting, which is configured in the PA-Table.

Build the project

Please follow the installation guidance in Getting started with Raspberry Pi Pico.

For Linux and MacOS:

  1. set the sdk path {the path} with the absolute path\
 export PICO_SDK_PATH={the path}/pico-sdk
  1. create build folder
mkdir build && cd build
  1. prepare cmake build directory by running
cmake ..
  1. build project
make

For Windows:

  1. set the sdk path {the path} with the absolute path\
 setx PICO_SDK_PATH "{the path}/pico-sdk"
  1. create build folder
mkdir build && cd build
  1. prepare cmake build directory by running
cmake -G "NMake Makefiles" ..
nmake
Comments
Sign in to comment

No comments yet. Be the first to ask about this board.