Fix RAK3401 SKY66122-11 FEM control: enable CSD/CPS for proper PA/LNA operation#6
Merged
Conversation
…gative claims number.
…rect-Release-of-RefCountedDigitalPin Fixed RefCountedDigitalPin.h and SSD1306Display for Heltec v4
…reply `gps sync` reply: fill buffer with text
… 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
e44a9dd to
49d8313
Compare
|
Needs to be rebased at least after #9777 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
Mirror of meshcore-dev#1836