Merge pull request #752 from Marco02Arduino/main

Add reset functionality to PCB_K0402WS-v3
This commit is contained in:
Rob Emery authored and GitHub committed 2026-10-29 21:52:57 +00:00
commit c494eeb7a7
3 files changed
+13 -1

No files matched your search

+12
View File
@@ -82,3 +82,15 @@ Voltage is made by a `Techcode TD1720` .
Voltage is created by chip marked as `Techcode TD1720`. Voltage is created by chip marked as `Techcode TD1720`.
**There seems to have been a miscalculation when choosing the inductor and the device is ~25% more efficient with an 5V power supply.** **There seems to have been a miscalculation when choosing the inductor and the device is ~25% more efficient with an 5V power supply.**
## Reset Mod
A reset button can be easily added by soldering a push button from TP131 (near the Spi ROM) to ground via a 1KOhm resistor.
**PS:** `The reset button GPIO must be defined in the machine.c file before building the image, it must be selected the GPIO30_ACL_BIT3_EN instead of GPIO_NA under the PCB_K0402WS-V3.0 configurations.`
Photo of the mod
<img src="photos/PCB-K0402WS-V3.0/Reset_mod.jpg" width="300" />
Binary file not shown.

After

Width:  |  Height:  |  Size: 207 KiB

+1 -1
View File
@@ -19,7 +19,7 @@ __code const struct machine machine = {
.sfp_port[1].sds = 0, .sfp_port[1].sds = 0,
.sfp_port[1].i2c = I2CBUS( GPIO41_I2C_SDA3_MDIO1, GPIO40_I2C_SCL3_MDC1 ), .sfp_port[1].i2c = I2CBUS( GPIO41_I2C_SDA3_MDIO1, GPIO40_I2C_SCL3_MDC1 ),
.reset_pin = GPIO_NA, .reset_pin = GPIO30_ACL_BIT3_EN,
.high_leds = { .mux = LED_28_SYS | LED_29, .enable = LED_27 | LED_28_SYS | LED_29 }, .high_leds = { .mux = LED_28_SYS | LED_29, .enable = LED_27 | LED_28_SYS | LED_29 },
.port_led_set = { 0, 0, 0, 1, 0, 0, 0, 0, 1}, .port_led_set = { 0, 0, 0, 1, 0, 0, 0, 0, 1},
.led_sets = { .led_sets = {