📝

MCU cx-32v03 Presentation Notes

Jul 5, 2024

Lecture Notes: MCU cx-32v03 Presentation by Patrick

Introduction

  • Presenter: Patrick
  • Recently discussed by David Jones on YouTube: 10 stands restarted MCU cx-32v03
  • Demonstrated blink demo: easy project start
  • Video reached 200,000 views, indicating high popularity among engineers
  • Many inquiries about the one wire debug protocol for this MCU

Main Topics

WCH and 10 Stands Restarted MCU cx-32v03

  • WCH: Chip design company
  • Self-designed IPs: This type, USB PHY IP, Ethernet PHY IP
  • No need to pay for third-party royalties
  • Key feature: 32-bit response for 10 stands

World’s First One Wire Debugging Protocol

  • Release: Available on GitHub (open WCH)
  • Downloadable from the video comments
  • Key Design Tips:
    • CH32V03 debugging IO is open drain; needs pull-up
    • Recommended pull-up resistor: 10,000 ohms

Schematic Design

  • Components: CH32V03, PD1, IO link
  • Connections: IO to one wire PD1; IO pull-up with 10,000 ohms resistor

Software Section

  • Protocol Detail: One line protocol
  • Transmission Speed: Choose different modes to speed up
  • Debug menu: 32 general-purpose MCU, RISC-V-based
  • Block Diagram: Debug system
  • Transmission Devices: USB communication

Debug Transport Toggle

  • Packet format: Divided into new packet and bypass packet
    • New packet sends address
    • Bypass packet sends data
  • Data Definition: Fast Mode and Normal Mode
  • Low/High level timing for signal detection
    • Unit time (T) = 125 nanoseconds

Logical Signal of One Wire Protocol

  • Tools needed: Logic analyzer, Vo3 board
  • Process:
    • Plug link into USB hub and logic analyzer
    • Open DSView app and analyze signals
    • Identify stop bit and receive bit within the signals

Conclusion

  • Contact info for questions and bulk purchases
    • Leave comments or email Patrick
    • Large volume chip purchases available with better prices and service

Thank you for attending!