mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2026-04-27 14:30:33 +00:00
fix(heltec32_v4): set OCP_TUNED to 0x38 per SX1262 datasheet
The SX1262 datasheet specifies that SetPaConfig resets OCP to 0x38
(140 mA) for SX1262 devices, vs 0x18/60 mA for SX1261. The Heltec V4
external PA draws from Vext, not the SX1262 supply rail, so the
brownout risk that prompted lowering OCP on other boards (see eab0284)
does not apply here. Hardware-validated: 500 packets at 22 dBm, 0
errors, 0 resets, stable at 72 C peak.
This commit is contained in:
parent
3167a3e679
commit
efa8d3833c
1 changed files with 5 additions and 1 deletions
6
Boards.h
6
Boards.h
|
|
@ -403,7 +403,11 @@
|
|||
#define HAS_LORA_LNA true
|
||||
#define PIN_WAKEUP GPIO_NUM_0
|
||||
#define WAKEUP_LEVEL 0
|
||||
#define OCP_TUNED 0x28
|
||||
// SX1262 datasheet specifies OCP resets to 0x38 (140mA) after SetPaConfig
|
||||
// for SX1262 devices (vs 0x18/60mA for SX1261). The Heltec V4 external PA
|
||||
// draws from Vext, not the SX1262 supply rail, so the brownout risk that
|
||||
// prompted lowering OCP on other boards does not apply here.
|
||||
#define OCP_TUNED 0x38
|
||||
#define Vext GPIO_NUM_36
|
||||
#define LORA_PA_MODEL LORA_PA_UNKNOWN;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue