Your Cee STC8H-V1.0

Contents

STC8H8K64U MCU Controller STC USB to Dual Serial Port-STC8H-V1.0 Core Development Board Module User Manual

Model: STC8H-V1.0 | Brand: Your Cee

1. Introduction

This manual provides detailed instructions for the STC8H8K64U MCU Controller STC USB to Dual Serial Port-STC8H-V1.0 Core Development Board Module. This module is designed to facilitate development with the STC8H8K64U microcontroller, offering convenient USB connectivity for programming and dual serial port functionality. It features a USB-HID communication protocol, eliminating the need for driver installation for firmware upgrades.

Top view of the STC8H-V1.0 module with dimensions
Figure 1: Top view of the STC8H-V1.0 module with dimensions (76mm length, 23mm width).

2. Specifications

FeatureDescription
ModelSTC8H-V1.0
MCUSTC8H8K64U
Interface TypeUSB to Dual Serial Port
PackageTQFP
ApplicationComputer, Module
Dissipation PowerLow
Supply Voltage- (Refer to schematics for specific voltage rails)
Operating TemperatureNormal
ConditionNew
OriginMainland China
Dimensions76mm x 23mm (approx.)

3. Setup and Connections

3.1 Physical Overview

Top-down view of the STC8H-V1.0 module
Figure 2: Top-down view of the STC8H-V1.0 module, showing component layout.
Bottom view of the STC8H-V1.0 module
Figure 3: Bottom view of the STC8H-V1.0 module, showing pin labels and manufacturing date.

3.2 Power Supply and USB Connections

The module can be powered via its USB-A or USB-C ports. The onboard circuitry includes a voltage regulator (U3) to provide 3.3V. Refer to the schematic below for detailed power and USB data line connections.

Schematic diagram for USB power supply and voltage regulation
Figure 4: Schematic diagram for the USB power supply (CN1, CN2), voltage regulator (U3 for 3.3V), and protection diode (D8).

3.3 Serial Port Connections (CN3)

The module provides dual serial port functionality via the CN3 connector. The pinout for CN3 is as follows:

Schematic diagram for STC8H8K64U MCU and CN3 serial port pinout
Figure 5: Schematic diagram for the STC8H8K64U MCU, 22.1184MHz crystal oscillator, and the CN3 serial port pinout (VCC, S-RXD2, S-TXD2, S-VCC, S-RXD, S-TXD, GND).

3.4 SPI/I2C Interface Configuration

The module supports both SPI and I2C interfaces, primarily for OLED display connections. The configuration is determined by soldering specific resistors (R13, R16, R14, R17). The J2, J2B, and J2C interfaces share a single 7-core socket on the PCB (labeled as J2).

  • SPI Interface: For SPI communication, only solder the left resistors R13 and R16. Do NOT solder R14 and R17.
  • I2C Interface: For I2C communication, only solder the right resistors R14 and R17. Do NOT solder R13 and R16.
  • Factory Default: The module is factory-defaulted to use the SPI interface, with R13 and R16 soldered.
Diagram illustrating SPI/I2C interface soldering configurations
Figure 6: Diagram illustrating the soldering configurations for SPI (R13, R16) and I2C (R14, R17) interfaces, and the shared J2 socket for OLED displays.
Schematic diagram for J2, J2B, J2C SPI/I2C connectors
Figure 7: Schematic diagram detailing the J2, J2B, J2C connectors for SPI (P1.5, MOS, RES, P3.4, P5.4) and I2C (SCL, SDA, RES, DC, CS) interfaces.

4. Operating Instructions

4.1 USB Firmware Upgrade (ISP Download)

The STC8H8K64U MCU supports downloading user programs directly via its hardware USB interface using the USB-HID communication protocol, which means no specific drivers are required.

Diagram showing hardware connections for USB firmware upgrade
Figure 8: Diagram showing the hardware connections for USB firmware upgrade, including D-P3.0, D+/P3.1, and the P3.2/Download button.

Follow these steps for ISP download:

  1. Ensure D-P3.0 and D+/P3.1 are correctly connected to the PC's USB port.
  2. Short circuit P3.2 to GND. While P3.2 is shorted, press the P3.2/Downloaded button on the board.
  3. Power on the target chip again. If the board was already powered, press the power switch key to power it off, then release the power switch. Wait for "STC USB Writer (HID1)" to be automatically recognized in the STC-ISP download software.
  4. Once recognized, the state of P3.2 is no longer critical; you can release the P3.2 key.
  5. Click the "Download/Program" button in the STC-ISP download software. (Note: This operation sequence differs from serial port download.)

Upon successful completion, the download is finished. The system will soft reset from the user area to the system area, awaiting the USB download.

5. Maintenance

  • Keep the module clean and free from dust and moisture.
  • Avoid exposing the module to extreme temperatures or direct sunlight.
  • Handle with care to prevent physical damage to components or connectors.
  • Ensure proper ventilation if used in an enclosed space.

6. Troubleshooting

  • Module not recognized by PC: Ensure the USB cable is securely connected. Try a different USB port or cable. Verify that the module is powered on.
  • Firmware download failure: Double-check the ISP download steps, especially the P3.2 shorting and power cycling sequence. Ensure the STC-ISP software is correctly configured.
  • Serial communication issues: Verify correct wiring of the CN3 serial port. Check baud rates and other serial port settings in your software.
  • SPI/I2C interface not working: Confirm that the correct resistors (R13/R16 for SPI, R14/R17 for I2C) are soldered according to your desired interface.

7. User Tips

  • When experimenting with different interfaces (SPI/I2C), always ensure the correct resistors are soldered/desoldered to avoid conflicts or damage.
  • Utilize the USB-HID protocol for firmware updates as it simplifies the process by not requiring separate driver installations.
  • Keep the STC-ISP download software updated to ensure compatibility with the latest STC microcontrollers.

8. Warranty and Support

For technical support, documentation, or inquiries regarding this product, please contact your vendor or refer to the official STC microcontroller resources. Specific warranty details may vary by region and seller.

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.

Rate this product if you’ve used it

Was this page helpful?