Skip to content

A curated list of WCH's 32-bit MCU related code and resources.

License

Notifications You must be signed in to change notification settings

ch32-rs/awesome-ch32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Awesome CH32

An unofficial curated list of WCH's 32-bit MCU related code and resources.

Official Resources

Note Chinese(中文) content are always newer than English version.

MCU Families

For 32-bit MCU, WCH has two categories: Cortex-M and RISC-V. Cortex-M product line has not been updated for a long time. (There is a 32-bit unknown instruction set used by CH563/CH561/CH568/CH567).

Official Intro(Chinese)

RISC-V

Note WCH's RISC-V has some key differences from the mainstream RISC-V ISA:

  • No mtime and mcycle CSR. No MachineTimer interrupt. Use SYSTICK core peripheral instead.
  • No MachineExternal interrupt. The external interrupts are handled the same as core interrupts as mcause code.
  • Core interrupts are different, refer "QingKeV*_Processor_Manual.PDF" for details.

Refer: ch32-data

  • CH32V General RISC-V
    • CH32V103 RISC-V4A
    • CH32V203 RISC-V4B
    • CH32V208 RISC-V4C, BLE 5.3
    • CH32V303 RISC-V4F, CAN
    • CH32V307/CH32V305 RISC-V4F, USBHS, CAN, DVP, 1000M ETH
    • CH32V317 RISC-V4F, USBHS,1000M ETH, DVP
    • CH32V0 Low Price
      • CH32V003 RISC-V2A
      • CH32V002 RISC-V2C (unreleased) - V003 compatible with bigger SRAM, 12-bit ADC
      • CH32V004 RISC-V2C (unreleased) - V003 compatible with bigger SRAM, 12-bit ADC
      • CH32V006/CH32V005 RISC-V2C (unreleased)
      • CH32V007/CH32M007 RISC-V2C (unreleased) - M for Motor Control DS revoked?
  • CH32X0 Special IO
    • CH32X035/CH32X033 RISC-V4C, USB PD, PIOC
  • CH32L Low Power
  • BLE MCU
    • CH573/CH571 RISC-V3A, BLE 4.2
    • CH583/CH582/CH581 RISC-V4A, BLE 5.3
    • CH592/CH591 RISC-V4C, BLE 5.4
    • CH32V208 (also appears in CH32V series)
  • Special Interface
    • CH569/CH565 RISC-V3A, USBSS, SerDes, HSPI, BUS8, 1000M ETH
    • CH641 RISC-V2A, USB PD, Wireless Charging
    • CH643 RISC-V4C, RGB LED Driver, USB PD, PIOC
    • CH645 RISC-V4C (unreleased), USBHS, USB Hub, USB PD, 100M ETH
    • CH564 RISC-V4J, USBHS, USB PD, 100M ETH, XBUS, SLV

In the list above CH57x, CH58x, CH59x and CH56x are legacy peripheral ones, which means they have an old style of peripherals.

Cortex-M

About

A curated list of WCH's 32-bit MCU related code and resources.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published