Fix RAK3401 SKY66122-11 FEM control: enable CSD/CPS for proper PA/LNA operation#1836
Fix RAK3401 SKY66122-11 FEM control: enable CSD/CPS for proper PA/LNA operation#1836weebl2000 wants to merge 3 commits intomeshcore-dev:devfrom
Conversation
593fbee to
1afdb1a
Compare
|
I had good results from using variant 4 above. Stock 3401/13302 1W booster from Rak. No other add-on boards. Firmware appears stable. Turning off the RXBoost via 'set radio.lna off' results in immediately and reproducible 3-3.5 db gain in advert packet reception from distant repeaters. |
| delay(1); // SKY66122 turn-on settling time | ||
| } | ||
|
|
||
| #ifdef NRF52_POWER_MANAGEMENT |
There was a problem hiding this comment.
is NRF52_POWER_MANAGEMENT enabled in the build for rak3401?
There was a problem hiding this comment.
It's not currently it seems.
|
could we see this problem? FEM control sequencing in
|
Agreed, it's probably cleaner that way. I doubt it would have caused any issues currently. At most it would have amplified a bit of noise for a few microseconds. :) Changing it. |
… LNA operation The RAK13302 1W module uses a Skyworks SKY66122-11 front-end module with three digital control pins (CSD, CTX, CPS) that must be actively driven by the host MCU. The previous code only managed CTX (GPIO 31) — toggling it for TX/RX — but never initialized CSD (GPIO 24) or CPS (GPIO 21), leaving them floating with no pull-up/pull-down resistors on the PCB. With floating CSD and CPS, the SKY66122 was in an undefined operating mode: - The 30 dB TX PA may not have been reliably engaging - The 16 dB RX LNA was never reliably active, degrading receive sensitivity
7752c8a to
91dcbf9
Compare
preamble: I was talking to someone about their RAK3401 board on Discord and dived into datasheets and current implementation. I asked them to test and come back with findings, but I strongly believe the FEM isn't being controlled properly and this can cause RX sensitivity to be bad and perhaps even cause power/overheating issues.
The RAK13302 1W module uses a Skyworks SKY66122-11 front-end module with three digital control pins (CSD, CTX, CPS) that must be actively driven by the host MCU. The previous code only managed CTX (GPIO 31) — toggling it for TX/RX — but never initialized CSD (GPIO 24) or CPS (GPIO 21), leaving them floating with no pull-up/pull-down resistors on the PCB.
With floating CSD and CPS, the SKY66122 was in an undefined operating mode:
I have 4 variants for you to try:
I expect variant number 4 to have the best improvement. When replying with your findings please mention the builds you have tested!
Following the comment from Heltec engineer I also applied the register patch here. It should help with keeping AGC in check.
I don't have a RAK13302 device so I cannot test this myself.
References: