cancel
Showing results for 
Search instead for 
Did you mean: 

How to set different Channels/Frequencies for TX/RX (2402, 2440, 2480 MHz)

ledi001
Associate III

Hello,

I am using the BLE_p2pServer_ota example from the STM32Cube_FW_WBA_V1.4.1 firmware package.

For testing purposes I would like to set different channels/frequencies for TX/RX (2402, 2440, 2480 ... MHz). Where can I find the corresponding functions for setting them?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
_Joe_
ST Employee

Hi Ledi,
You can't choose your channels directly, but you can choose to exclude some of them.
This is mentioned in the errata sheet for the stm32wba (2.3.1 Bluetooth® Low Energy frequency deviation (DF1)).
This is done with the command: HCI_LE_SET_HOST_CHANNEL_CLASSIFICATION.

PS: Be careful, however, that if you exclude too many channels, the link may become unstable if the remaining channels are disturbed.

BR, Joé

View solution in original post

3 REPLIES 3
_Joe_
ST Employee

Hi Ledi,
You can't choose your channels directly, but you can choose to exclude some of them.
This is mentioned in the errata sheet for the stm32wba (2.3.1 Bluetooth® Low Energy frequency deviation (DF1)).
This is done with the command: HCI_LE_SET_HOST_CHANNEL_CLASSIFICATION.

PS: Be careful, however, that if you exclude too many channels, the link may become unstable if the remaining channels are disturbed.

BR, Joé

Hi @_Joe_ ,

Thank you for the answer. Where can I find the command HCI_LE_SET_HOST_CHANNEL_CLASSIFICATION? There are so many files in the BLE_p2pServer_ota project. Is there an easy way to find the command via a search window in the whole project (not only in the selected file)?

BR, Ledi

RealEstateJot1
Associate

To set different channels or frequencies for TX (transmit) and RX (receive) at 2402, 2440, or 2480 MHz, follow these steps:

  1. Check Device Compatibility: Ensure your device supports custom frequency settings and operates in the 2.4 GHz band.
  2. Access Configuration Software: Use your device's firmware or software interface to access radio settings. For most devices, this involves logging into the admin panel or using a specialized tool.
  3. Set TX Frequency: Navigate to the transmission settings and input your desired frequency, such as 2402 MHz.
  4. Set RX Frequency: Adjust the receiving frequency to 2440 MHz or 2480 MHz, depending on your requirements.
  5. Verify Frequency Separation: Ensure the TX and RX frequencies are within the allowed band limits and comply with regulations in your region.
  6. Test the Configuration: Perform a signal test to confirm that the transmission and reception work as expected without interference.

Properly setting frequencies can optimize your device's performance and reduce interference with nearby channels.