- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Device: CyBle - 224116-01
Hello Guys,
The datasheet mentions that in order to turn the PA/LNA ON we need to write these set of instructions..
/* 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);
What happens when we configure the link layer(what happens when we write 0x0331 to that register location)?
Do we need to change the parameter 0x0331 when we want to turn the PA/LNA off (or switching to any other mode)?
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The BLE_BLESS_RF_CONFIG register is used to DDFT mux. By writing 0x0331, we are bringing out the tx and rx enable lines so that they can be routed to external pins.
If you want to turn off the PA, dont change any values in these registers, instead change the CPS and CSD values, i.e. CSD_Write(0) and CPS_Write(0).
This link might be helpful:
How to Make Extended Range BLE Modules to Work as a Normal Module - KBA219463
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can anyone tell me what 0x0331 means?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The github page: https://github.com/cypresssemiconductorco/PSoC-4-BLE/blob/master/100_Projects_in_100_Days/Day027_BLE...
Contains some reference to the same register: CYREG_BLE_BLESS_RF_CONFIG,
but beyond it enabling the PA/LNA as stated in the documentation, I can't find any other information on it. Possibly the PSoC creator contains more information in the datasheets/code examples.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I checked the datasheet; but there's nothing much mentioned about this. Thanks e.pratt!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're welcome Max, sorry I don't have better information 😞
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The BLE_BLESS_RF_CONFIG register is used to DDFT mux. By writing 0x0331, we are bringing out the tx and rx enable lines so that they can be routed to external pins.
If you want to turn off the PA, dont change any values in these registers, instead change the CPS and CSD values, i.e. CSD_Write(0) and CPS_Write(0).
This link might be helpful:
How to Make Extended Range BLE Modules to Work as a Normal Module - KBA219463