joric / nrfmicro

A Pro Micro alternative for wireless keyboards
https://github.com/joric/nrfmicro/wiki
The Unlicense
1.5k stars 129 forks source link

1.8v in high voltage mode #51

Closed ImMrMa closed 2 years ago

ImMrMa commented 2 years ago

Hi joric, I follow your wiki made a board by myself, when use your bootloader, I found that in high voltage mode it can only output a signal of 1.8v. What should I do to output a 3.3v signal ?

joric commented 2 years ago

https://github.com/joric/nrfmicro/wiki/Archive#power-switch-issues

  if (NRF_UICR->REGOUT0 != UICR_REGOUT0_VOUT_3V3) {
    NRF_NVMC->CONFIG = NVMC_CONFIG_WEN_Wen << NVMC_CONFIG_WEN_Pos;
    NRF_UICR->REGOUT0 = UICR_REGOUT0_VOUT_3V3;
    NRF_NVMC->CONFIG = NVMC_CONFIG_WEN_Ren << NVMC_CONFIG_WEN_Pos;
  }
ImMrMa commented 2 years ago

Ok, So I'm using your nrf52 QMK branch with your bootloader, should I insert the code in QMK codebase somewhere is ok?

joric commented 2 years ago

Unless you have a few years of spare time I don't recommend using wireless QMK, there are no maintainers. Try ZMK first.

ImMrMa commented 2 years ago

Okay, thanks for your suggestion, although I have been trying on qmk for a long time, I will try zmk

ImMrMa commented 2 years ago

Thanks again for the suggestion! ZMK has solved a lot of the problems I had on QMK. It was really cool!

ImMrMa commented 2 years ago

By the way, I would like to refer mikoto as the first PCBA version, do you have any suggestion on the nrf52840 PCBA?

joric commented 2 years ago

I don't give a fuck I know I was first. Mikoto does not have production-ready bom and placement files in the repository it's hand-soldered so random people won't profit off it.