Skip to content

Commit a6f8ffe

Browse files
[nrf52,gpio] High voltage (#5595)
* doc * Update nrf52.md * fix * Update content/components/nrf52.md --------- Co-authored-by: Jonathan Swoboda <[email protected]>
1 parent 48c9caa commit a6f8ffe

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

content/components/nrf52.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,29 @@ nrf52:
100100

101101
- **reset_pin** (*Required*, [Pin](/guides/configuration-types#pin)): The pin to use for trigger a hardware reset. This pin should be connected to the MCU's reset line or to a circuit that causes the bootloader to enter DFU mode after reset.
102102

103+
## REGOUT0
104+
105+
Output voltage from the REG0 regulator stage, which powers the GPIO pins when the board operates in high-voltage mode.
106+
This setting can only be changed a limited number of times, unless uicr_erase is set to true.
107+
Requires `mcuboot` or `adafruit` bootloader version 0.9.3 or higher.
108+
109+
### Example Configuration
110+
111+
```yaml
112+
nrf52:
113+
reg0:
114+
voltage: 3.3V
115+
uicr_erase: true
116+
```
117+
118+
### Configuration variables
119+
120+
- **voltage** (**Required**, voltage): The desired output voltage - must be one of
121+
1.8V, 2.1V, 2.4V, 2.7V, 3.0V, 3.3V.
122+
- **uicr_erase** (**Optional**, bool): If set to true, the User Information Configuration Registers (UICR)
123+
will be erased before writing the new voltage setting.
124+
⚠️ Warning: Enabling this may cause the board to fail to boot if misconfigured. Default is false.
125+
103126
## Troubleshooting
104127

105128
### Flashing is unstable

0 commit comments

Comments
 (0)