蓝猫淘气

# Seventh Lichuang Electric Competition# qmk integrates customized RGB84 keyboard development board

 
Overview


* 1. Project function introduction
[qmk customized keyboard]: RGB color, integrated screen, encoder. 【USB2.0 HUB】: 1 to 3 USB2.0 hub. [Development Board]: It also leads to most of the GPIO pins and can modify the BOOT mode through jumpers.
 
84 arrays, the RGB matrix is ​​more orderly
Firmware: QMK open source firmware, currently the hardware has been driven and is being transplanted.
MCU: N32G435CBL7 ROM: 128K RAM: 32KOLED: 0.96-inch I2C 4Pin SSD1315 
RGB: WS2812B, matrix + status indicator light, expandable
rotary encoder: EC11, rekeyable
USB2.0 HUB: SL2.1A, leads to three USB The interface
 
is based on the final84 verification board of Atmega32u4, and physical verification has been completed: https://oshwhub.com/0xcb/neilzx_kb84
Zhihui Jun's Hanwen keyboard development board, pending design modification: https://oshwhub.com/0xcb/helloworld
is available Interested students can also study and learn customized dual-mode keyboard based on nRF.
V1, V2 side by side photo
 
*2. The project attributes
are original and published for the first time.
The circuit diagram refers to Lao Xuan v2 version: https://oshwhub.com/Neilzx/lao-xuan-tui-keng-jian-panv2.
Note that the order of GPIO is different. Adjustment
 
* 3. Open source agreement
GPL3.0
 
*4. The hardware part
is designed using the professional version of Jialitron EDA and verified by Jialitron.
This time, some of the via holes on the PCB are bare, and some of the via holes have solder mask? You need to pay special attention when welding, don't connect it.
The GPIO, USB data pins, and peripheral pins have all been lead out and can be used as output pins or jumpers. After the welding is partially completed and the test is OK, install the jumper cap.
The packaging of the USB-Type-C port has been modified from a flat one to a more secure pin.
 
*5. The software part
is based on QMK transplantation and firmware development.
I want to complain here that the tool chain is imperfect and jlink is required in the Linux development environment.
So I spent a lot of time developing the burning tool, modified openocd to add support for n32g43x, and then configured the clion development environment. Compilation and burning verification only required one click to run, and the burning and reset operation would be automatic in a few seconds.
SWD is better than serial port and JTAG, it can be programmed and debugged, and it has fewer pins.
 
The migration progress of QMK is relatively slow. The HAL part needs to be adjusted.
Some of the doubts in the document have not been answered. I will post them here:
1. The value obtained by the DBG_ID register and the corresponding capacity of the SRAM indication bit are not calculated correctly.
The corresponding DBG_ID read by N32G435CBL7 is 0x31544313, the calculated SRAM is 128?
 
2. LVMEN/SLMEN should be bits in the FLASH_AC register, not FLASH_CTRL.
 
 
This debugging transplant has a deeper understanding of the interaction between ARM and hardware. Thanks for this activity.
*6.
Please see the following list for BOM list.
 
*7. The competition LOGO verification
has been pasted directly below the keyboard. It is a bit small after printing the real thing.
 
* 8. Demonstrate your project and record it as a video for upload
. Please see the attachment for details.
 
The music spectrum effect has been adjusted and available. For details, please see
https://oshwhub.com/0xcb/neilzx_kb84
 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-21 18:17:47

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号