increase the voltage

This commit is contained in:
awalol
2026-04-26 23:06:43 +08:00
parent 756049f3dc
commit f497472127
3 changed files with 8 additions and 3 deletions
+2
View File
@@ -17,6 +17,8 @@
# 当前问题: # 当前问题:
- 声音可能有点小卡顿 - 声音可能有点小卡顿
- 由于编码需要,需要对pico进行超频,当前的参数是1.2V 270MHz。个人测试最大频率是270MHz,且效果较好。
- 若您的pico使用该超频参数无法启动,请自行增加电压或者降低频率
# 未来计划 # 未来计划
+3
View File
@@ -9,6 +9,7 @@
#include "resample.h" #include "resample.h"
#include "audio.h" #include "audio.h"
#include "hardware/clocks.h" #include "hardware/clocks.h"
#include "hardware/vreg.h"
#include "pico/cyw43_arch.h" #include "pico/cyw43_arch.h"
int reportSeqCounter = 0; int reportSeqCounter = 0;
@@ -88,6 +89,8 @@ void tud_hid_set_report_cb(uint8_t itf, uint8_t report_id, hid_report_type_t rep
} }
int main() { int main() {
vreg_set_voltage(VREG_VOLTAGE_1_20);
sleep_ms(1000);
set_sys_clock_khz(270000, true); set_sys_clock_khz(270000, true);
board_init(); board_init();