Hey,
beginner here.
I’m trying to figure out how to change the GPIO pin voltages to 3.3V on nRF9151 Feather. I’ve successfully flashed Serial Modem application with re-mapped UART0 pins on the device.
Now I would like to set the TX/RX voltages from 2.7V to 3.3V from the firmware. I’m thinking that this is done through firmware by accessing nPM1300, but I have not figured out how to actually change it.
I thought I could change it by adding lines from in the ‘circuitdojo_feather_nrf9151_ns.overlay’ that would overwrite the settings in ‘circuitdojo_feather_nrf9151_common.dtsi’.
Are these the settings from ‘circuitdojo_feather_nrf9151_common.dtsi’ that I want to overwrite with overlays:?
`
npm1300_charger: charger {
compatible = "nordic,npm1300-charger";
term-microvolt = <4150000>;
term-warm-microvolt = <4000000>;
current-microamp = <720000>;
dischg-limit-microamp = <1000000>;
vbus-limit-microamp = <1000000>;
thermistor-ohms = <10000>;
thermistor-beta = <3380>;
charging-enable;
};
npm1300_regulators: regulators {
compatible = "nordic,npm1300-regulator";
npm1300_buck1: BUCK1 {
regulator-min-microvolt = <2700000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
npm1300_buck2: BUCK2 {
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
};
};
};
Especially thinking if ‘npm1300_buck1: BUCK1’ would be the one to change.
My initial idea was to add following lines in the overlay:
&npm1300_buck1 {
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
Or do I need to add for example
regulator-init-microvolt = <3300000>;
I tested with these, but I still have 2.7V on the pins.
Also interested in setting the charging off from nPM1300.
Understanding propably multiple things wrong, but what would be the right direction here?