Skip to content

Commit

Permalink
update SMPS energy saving mode
Browse files Browse the repository at this point in the history
  • Loading branch information
NuclearPhoenixx committed Dec 3, 2023
1 parent 84a4d2c commit 83462cc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion software/ogd_pico/ogd_pico.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,10 @@ void setup1() {
// -> Also with PS_PIN LOW I have experiences high-pitched (~ 15 kHz range) coil whine!
pinMode(PS_PIN, OUTPUT_4MA);
gpio_set_slew_rate(PS_PIN, GPIO_SLEW_RATE_SLOW); // Slow slew rate to reduce EMI
digitalWrite(PS_PIN, HIGH);
// Not really sure what results in better spectra...
// It doesn't change a whole lot, so might as well keep the energy saving mode?
digitalWrite(PS_PIN, LOW);
//digitalWrite(PS_PIN, HIGH);

pinMode(GND_PIN, INPUT);
pinMode(VSYS_MEAS, INPUT);
Expand Down

0 comments on commit 83462cc

Please sign in to comment.