ECO Capacitance Trim Values for EZ-BLE™ Modules - KBA218990

Version: **

 

Question:

What are the ECO capacitance trim values for EZ-BLE™ Modules for BLE component versions V3_1, V3_2, and V3_3? 

 

Answer:

ECO capacitance trim is required to supply the correct capacitance load to achieve least ppm for the ECO. By default,the ECO capacitance trim values are set to the trim values of PSoC®4 BLE / PRoC BLE modules which are part of CY8CKIT-042-BLE. For all the EZ-BLE modules, the trim values should be changed to the values provided by module’s datasheet. Trim values are also listed in Table 1.

Improper ECO capacitance trim values may result inconsistent / non-operational BLE functionality which includes advertisement / scan / connection. For olderBLE components, the ECO capacitance trim values were automatically set in the generated source, hence all the projects worked as expected. It is mandatory to manually set the ECO capacitance trim value in the firmware or clock settings in below cases:

  1. Creating new project with BLE component V3.1,V3.2 or V3.3.
  2. Updating the BLE component to V3.1,V3.2 or V3.3.

For setting ECO capacitance trim value in firmware, add the following code in the CYBLE_EVT_STACK_ON event: 

CY_SET_XTND_REG32((void CYFAR *)(CYREG_BLE_BLERD_BB_XO_CAPTRIM), RegValue); 

Where, RegValue varies based on the EZ-BLE module selected. Table 1 provides the ECO capacitance trim values for different modules.

Table 1. Capacitance TRIM Register Value 

                                                                                                                                                                                                                                                  
ModuleCAPTRIM Register value
CYBLE-022001-000x9898
CYBLE-222005-000xA0A0
CYBLE-222014-010xA0A0
CYBLE-014008-000x9595
CYBLE-214009-000x9595
CYBLE-214015-010x9595
CYBLE-012011-000xBCBC
CYBLE-012012-100xBCBC
CYBLE-212019-000xBCBC
CYBLE-212023-100xBCBC
CYBLE-212020-010xBCBC
CYBLE-224110-000x5555
CYBLE-224116-010x5555
CYBLE-212006-010xD0D0
CYBLE-202007-010xD0D0
CYBLE-202013-110xD0D0