Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BYK916 Pinout/Conventions/Findings #4

Open
swiftgeek opened this issue Apr 12, 2023 · 3 comments
Open

BYK916 Pinout/Conventions/Findings #4

swiftgeek opened this issue Apr 12, 2023 · 3 comments

Comments

@swiftgeek
Copy link
Owner

swiftgeek commented Apr 12, 2023

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 (SH68F90)

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 resistor CHARGE.
USB-CH - simply detects voltage being applied to USB connector


BYK916 connection to BT MCU - Beken BK3632


BYK916 RGB LED driving pins

  • Driving pins are most likely called DR(0..5)_(R/G/B)
  • V(R/B/G)(0..5) is the net powering led (so after transistors - usually S8050)
  • Pin mapping to SH68F90:
Row0:
Red: VR0 -> P4_1
Green: VG0 -> P6_0
Blue: VB0 -> P4_0
Row1:
Red: VR1 -> P0_4
Green: VG1 -> P6_1
Blue: VB1 -> P0_3
Row2:
Red: VR2 -> P6_7
Green: VG2 -> P6_2
Blue: VB2 -> P6_6
Row3:
Red: VR3 -> P0_2
Green: VG3 -> P6_3
Blue: VB3 -> P5_7
Row4:
Red: VR4 -> P4_5
Green: VG4 -> P6_4
Blue: VB4 -> P4_6
Row5:
Red: VR5 -> P4_3
Green: VG5 -> P6_5
Blue: VB5 -> P4_4
@r3d5ky
Copy link

r3d5ky commented Aug 4, 2023

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

@swiftgeek
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@swiftgeek @r3d5ky and others