CYBLE-224116-01
Document Number: 002-12524 Rev. *D
Page 16 of 47
Enabling Extended Range Feature
The CYBLE-224116-01 module comes with an integrated Power Amplifier/Low Noise Amplifier to allow for extended communication
range of up to 400 meters full line-of-sight. This section describes the firmware steps required to enable extended range operation of
the CYBLE-224116-01 module. For detailed step-by-step instructions, refer to the
Getting Started with EZ-BLE Module
Application
Note, Appendix B.2.3.2.
The PA/LNA integrated on the CYBLE-224116-01 module must be configured properly in order for the module to function as intended.
In cases which require radio transmission without extended range functionality, the PA/LNA must be set to Bypass mode in order to
ensure that the RF signal reaches the antenna. If the PA/LNA is disabled instead, the antenna will be unable to radiate any signal.
Refer to
Table 10
for the correct CSD and CPS configurations for PA/LNA Bypass mode.
The Skyworks SE2438T PA/LNA is controlled by PSoC4 BLE and uses four pins:
1.Two pins for the radio enable (CPS - P0[2], CSD - P0[3]). The CPS and CSD pins are controlled in the firmware application code
of the CYBLE-224116-01.
2.One pin to control the PA enable (P3[2]). The PA enable pin is controlled directly by the BLE Link Layer.
3.One pin to control the LNA enable (P3[3]). The LNA enable pin is controlled directly by the BLE Link Layer.
4.Ensure that the PSoC
®
4 BLE silicon device “Adv/Scan TX Power Level (dBm)” and “Connection TX Power Level (dBm)” in the BLE
component are both set to -6 dBm
[7]
.
To enable the extended range functionality, follow the steps outlined below.
1.Drag and drop two “Digital Output Pin” components from the Component Catalog to the schematic page in PSoC Creator
2.Double-click the pins and rename them as CPS and CSD. The HW connection option in the component configuration should be
unchecked as these are Firmware GPIOs.
3.To configure the CPS and CSD pins, open your project's Design-Wide Resources file (for example, “Project_Name.cydwr”) from
your Workspace Explorer and click the “Pins” tab. The “Pins” tab is used to select the physical device connections for the outputs
(CPS, CSD). These pins are connected to the enable pins of the Skyworks SE2438T Power Amplifier. In order for extended range
operation to function, it is required to configure the CPS and CSD pins to P0[2] and P0[3] respectively.
4.Open your project’s main.c file and write the below code to define the register at the top of the code.
5.Locate/add the event “CYBLE_EVT_STACK_ON" in the application code and insert the below four lines of code to enable the
Skyworks SE2438T.
/* define the test register to switch the PA/LNA hardware control pins */
#define
CYREG_SRSS_TST_DDFT_CTRL 0x40030008
/* Mandatory events to be handled by BLE application code */
case CYBLE_EVT_STACK_ON:
/* Enable the Skyworks SE2438T PA/LNA */
CSD_Write(1);
CPS_Write(1);
/* Configure the Link Layer to automatically switch PA control pin P3[2] and LNA control pin P3[3] */
CY_SET_XTND_REG32((void CYFAR *)(CYREG_BLE_BLESS_RF_CONFIG), 0x0331);
CY_SET_XTND_REG32((void CYFAR *)(CYREG_SRSS_TST_DDFT_CTRL), 0x80000302);
Note
7. The CYBLE-224116-01 module is certified for FCC, IC, CE, MIC and KC regulations at an output power of +9.5 dBm. To achieve this output power, RF
O2
(PSoC 4 BLE silicon PA level) must be set to the -6 dBm setting in firmware. Settings higher than this will result in higher output power than specified in the
CYBLE-224116-01 certifications.
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from