1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/durgod/k3x0
Simon Arlott c93935f243
Durgod: Increase scan rate by using wait_us GPT timer (#14091)
Lower the tick rate from 10kHz to 1kHz (otherwise all the extra interrupts
reduce the achievable scan rate). Enable the WAIT_US_TIMER using GPT TIM3.

Observed scan rate on the K320 is increased from 625Hz to 2090-2120Hz.
2021-12-27 14:04:26 +11:00
..
k310 Remove width, height and key_count from info.json (#14274) 2021-09-12 14:04:56 +10:00
k320 Remove width, height and key_count from info.json (#14274) 2021-09-12 14:04:56 +10:00
keymaps [Keyboard] Add Durgod Taurus K310 keyboard (#12314) 2021-07-22 00:09:00 -07:00
config.h Durgod: Increase scan rate by using wait_us GPT timer (#14091) 2021-12-27 14:04:26 +11:00
halconf.h Durgod: Increase scan rate by using wait_us GPT timer (#14091) 2021-12-27 14:04:26 +11:00
k3x0.c [Keyboard] Add Durgod Taurus K310 keyboard (#12314) 2021-07-22 00:09:00 -07:00
k3x0.h [Keyboard] Add Durgod Taurus K310 keyboard (#12314) 2021-07-22 00:09:00 -07:00
readme.md [Keyboard] Add Durgod Taurus K310 keyboard (#12314) 2021-07-22 00:09:00 -07:00
rules.mk Tidy up NKRO_ENABLE rules (#15382) 2021-12-09 16:05:44 +11:00

K3X0 = K310, K320, etc.

This K3X0 code is shared between both the ANSI and ISO variants of both the K310 full-sized 104/105-key and K320 TKL 87/88-key keyboards.

Instructions

Build

Instructions for building the K310 and K320 firmware can be found here:

Initial Flash

For first Flashing from initial Stock Firmware

  1. Back up original Firmware Image:
  • Unplug
  • Short Boot0 to Vdd (See below)
  • Plug In USB
  • Make a Flash Image's Backup in case you wanted to restore the Keyboard to Stock's Image:
    • Using dfu-util:

      dfu-util --list
      dfu-util --alt 0 --dfuse-address 0x08000000 --upload ${OLD_STOCK_BIN}
      
  1. Flash the QMK Firmware Image.
  • Put board into Bootloader mode, using the same method as when backing up the original Firmware (above)
  • Here are a few options for performing the initial Flash:
    • Using QMK Toolbox

    • Using dfu-util:

      dfu-util --alt 0 --dfuse-address 0x08000000 --download ${NEW_QMK_BIN}
      

You can short Boot0 to Vdd by shorting R21 to C27 on the sides closest to the processor, as shown:

Shorting Boot0 to Vdd on K320

Subsequent Flashing

For repeating Flashing you can use BootMagic:

  • BootMagic Lite has been enabled with Assigned "Esc" key
  • Unplug USB Cable
  • Holding Esc Button
  • Plug in USB Cable, Keyboard should be in ST-Bootloader state