Open swiftgeek opened 1 year ago
Hi, some times ago I also tried to find info about BYK916, and eventually found some chinese repos on github, which looks like a complete projects for keyboard based on SH68F90 with tri-mode wireless (I think with BK3632), and mouse with SH68F91. Unfortunately, I can't find these repos anymore, maybe they are already deleted, but I found copies of them in my file stash, maybe it will be interesting to you or help in RE-ing :) K916 998版NEW 三模 B10.00.zip BY9132_3325_FYI.zip
Was trying to not mention them, since license for sinowealth provided parts is dubious and findings/conventions are mirrored in their docs anyway (sadly spread out over many datasheets of different devices). K916 998版NEW 三模 B10.00 and BY9132_3325_FYI
Disclaimer
I do not have board with BYK916, but I still noticed some things, that would be good to follow/reference. Some features/pins/polarity might be configurable in firmware.
I'm also prone to making loads of typos, so really please check with the board
Also this only covers BYK916-specific details, see #1 for general ones.
BYK916 pinout (this refers mostly to BYKxxx firmware, and not actual MCU - which is reported to be SH68F90A):
BYK916 kicad symbol (incomplete)
Read SH68F90 CV2.0.pdf for actual MCU pins
BYK916 charge features:
CH
- connects to a charge controller, netname after a resistorCHARGE
.USB-CH
- simply detects voltage being applied to USB connectorBYK916 connection to BT MCU - Beken BK3632
CSNA
/CLKA
/MOSIA
/MISOA
- SPI/JTAG interface for BK3632, could be used for ICP/ISP of flash in BK3632.P42A
(BK3632 GPIOP11
) - Unknown, function implemented in BK3632 firmwareMOTA
(BK3632 GPIOP31
) - Unknown, function implemented in BK3632 firmwareBYK916 RGB LED driving pins