The MDT10F684 is a 14-pin, 8-bit microcontroller that is a direct equivalent to the Microchip PIC16F684. It shares similar features and pinout, making it a suitable replacement in most applications. However, it's still important to double-check both datasheets for exact compatibility.
Datasheet
https://www.mdtmcu.com/upfiles/file/MDT/MDT10F684.pdf
Key Features
🔹 Memory
-
Flash: 2K × 14-bit (100,000 write cycles)
-
EEPROM: 256 bytes (1 million write cycles)
-
SRAM: 128 bytes
🔹 CPU
-
High-performance RISC architecture
-
Only 35 instructions; most execute in 1 cycle
🔹 I/O Pins (14 total)
-
14 I/O pins total (6 on Port A, 8 on Port C)
-
Independent direction control
-
High drive strength (can directly drive LEDs)
-
Port A supports level-change interrupts and weak pull-ups
🔹 Timers
-
Timer0: 8-bit with prescaler
-
Timer1: 16-bit with prescaler
-
Timer2: 8-bit with period register, prescaler, postscaler
🔹 PWM / Capture / Compare
-
16-bit capture/compare modules (200ns resolution)
-
10-bit PWM with 1, 2, or 4 outputs
-
Supports dead-time control
-
Max PWM frequency: 20kHz
🔹 ADC
-
8 channels, 10-bit resolution
-
Internal voltage references: 2V, 3V, 4V, or VDD
-
External reference also supported
🔹 Analog Comparators
-
2 comparators
-
Built-in programmable voltage reference (CVREF)
🔹 Clock System
-
External clock: up to 20MHz
-
Internal 8MHz RC oscillator
-
Internal 31kHz low-speed RC oscillator
Power & Other Features
-
Low Power:
-
Sleep: ~50nA @ 2.0V
-
Active: ~200μA @ 1MHz, 2.0V
-
-
Voltage Range: 2.0V to 5.5V
-
Built-in Features:
-
Power-on Reset (POR)
-
Power-up Timer (PWRT)
-
Oscillator Start-up Timer (OST)
-
Enhanced Low-power Watchdog Timer (WDT)
-
-
Programming:
-
In-circuit serial programming and debugging via PA0 and PA1
-