Skip to content

cfrankb/ch552_drivers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CH552/CH554 Drivers & Hardware Abstraction

This repository contains lightweight C drivers for the WCH CH55x series, optimized for the SDCC compiler.

Key Feature: These drivers demonstrate cross-architecture porting, bringing logic originally developed for the ESP32-S3 down to the 8-bit E8051 core with minimal memory overhead.

Supported Peripherals & Wiring

LCD1602 / 2004 (via I2C)

Note: Uses a bit-banged or hardware I2C implementation depending on pin availability.

LCD Pin CH552 Pin Function
SDA P1.6 Data (MISO)
SCL P1.7 Clock (SCK)
VCC 5V / 3.3V Check your LCD variant

TM1637 (7-Segment Display)

Note: This driver handles the custom 2-wire serial protocol required by the TM1637 without dedicated hardware peripherals.

TM1637 Pin CH552 Pin Function
CLK P3.3 Clock
DIO P3.4 Data I/O

About

Additional drivers ported to the CH552 (using Wagiminator library)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors