main
History Download
Ray Publish 0.1.0 e8ef326

MS8006

Macrosilicon · Microcontrollers (MCU/MPU/SOC) · TSSOP-20

MS8006 from Macrosilicon, in a TSSOP-20. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.

Pinout

Pin Name Type Function
1 PD4 bidirectional General-purpose I/O port PD4; alternate functions include TIM1_CH1, PCA_CH0, RTC_1HZ, UART0_TXD, BEEP, TIM2_CH1 and analog VCIN2.
2 PD5/TX0 bidirectional General-purpose I/O port PD5 or UART0 TX; alternate functions include TIM1_CH1N, SPI_MISO, I2C_SCL, UART1_TXD and analog AIN5.
3 PD6/RX0 bidirectional General-purpose I/O port PD6 or UART0 RX; alternate functions include TIM1_CH2, SPI_MOSI, I2C_SDA, UART1_RXD and analog AIN6.
4 NRST input Reset pin, active low, with internal pull-up resistor; low pulses under about 10 us typical are filtered, so hold low longer than 10 us.
5 PA1/OSCIN bidirectional General-purpose I/O port PA1 or crystal oscillator input (OSC_IN) for the external high-speed crystal (4-24 MHz).
6 PA2/OSCOUT bidirectional General-purpose I/O port PA2 or crystal oscillator output (OSC_OUT) for the external high-speed crystal.
7 VSS power_in Ground.
8 VCAP passive In ICP mode 6.5 V is applied externally, in IAP mode it outputs 6.5 V; recommended capacitor 1.0 uF (0.47-2.2 uF); also ADC channel AIN7.
9 VDD power_in Power supply, 2.5 to 5.5 V (table 35.1 states 2.5~5.5 V).
10 PA3 bidirectional General-purpose I/O port PA3; alternate functions include TIM1_CH3N, PCA_CH2, SPI_NSS, LPUART_RXD and VC0_OUT.
11 PB5 bidirectional General-purpose I/O port PB5; also X32K_IN for the 32.768 kHz crystal, with TIM1_BKIN, SPI_CLK, I2C_SDA and UART0_RXD alternates.
12 PB4 bidirectional General-purpose I/O port PB4; also X32K_OUT for the 32.768 kHz crystal, with LPTIM_GATE, SPI_NSS, I2C_SCL and UART0_TXD alternates.
13 PC3 bidirectional General-purpose I/O port PC3; alternate functions include TIM1_CH3, I2C_SDA, UART1_TXD, 1-WIRE and analog AIN1.
14 PC4 bidirectional General-purpose I/O port PC4; alternate functions include TIM1_CH4, I2C_SCL, UART1_RXD, CLK_MCO and analog AIN2.
15 PC5 bidirectional General-purpose I/O port PC5; alternate functions include TIM1_BKIN, SPI_CLK, LPUART_TXD, LVD_OUT and analog VCIN1.
16 PC6 bidirectional General-purpose I/O port PC6; alternate functions include TIM1_CH1, SPI_MOSI, LPUART_RXD, CLK_MCO and analog AIN0.
17 PC7/SWDIO bidirectional General-purpose I/O port PC7 or SWD data I/O (SWDIO); placed in pull-up mode after reset.
18 PD1/SWDCLK bidirectional General-purpose I/O port PD1 or SWD clock (SWDCLK); placed in pull-down mode after reset.
19 PD2 bidirectional General-purpose I/O port PD2; alternate functions include TIM1_CH2, SPI_MISO, LPUART_TXD, 1-WIRE and analog AIN3/VCIN0.
20 PD3 bidirectional General-purpose I/O port PD3; alternate functions include TIM1_CH3N, SPI_MOSI, HXT_OUT, UART0_RXD and analog AIN4.

Key specifications

Parameter Value
Manufacturer Macrosilicon
Package TSSOP-20
Category Embedded Processors & Controllers
Pins 20

Electrical characteristics

Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).

Parameter Symbol Min Typ Max Unit Conditions Page
Supply voltage (Vpower) Vpower 0 5.5 V 503
Operating voltage Vop 2.5 3.3 5.5 V 503
Storage temperature Tstg -40 25 150 °C 503
Operating temperature Top -40 25 85 °C 503
CPU operating frequency Fcpu 32.768 4 24 Hz Printed as 32.768K / 4M / 24M Hz 503
Supply voltage VDD 2.5 5.5 V 503
VCAP capacitance Cs 0.47 2.2 μF Recommended 1.0μF 503
Operating temperature (recommended) Ta -40 85 °C 503
Run in RAM current, 4M IDD 172 189 μA All peripherals clock OFF, while(1) in RAM, Vcore=1.2V, VDD=3.3V, HIRC 4M 504
Run in RAM current, 8M IDD 270 297 μA All peripherals clock OFF, while(1) in RAM, Vcore=1.2V, VDD=3.3V, HIRC 8M 504
Run in RAM current, 16M IDD 475 523 μA All peripherals clock OFF, while(1) in RAM, Vcore=1.2V, VDD=3.3V, HIRC 16M 504
Run in RAM current, 24M IDD 741 815 μA All peripherals clock OFF, while(1) in RAM, Vcore=1.2V, VDD=3.3V, HIRC 24M 504
Run mode current, peripherals ON, 4M IDD 394.8 453.4 μA All peripherals clock ON, while(1) in Flash, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 4M 504
Run mode current, peripherals ON, 8M IDD 720.9 823.4 μA All peripherals clock ON, while(1) in Flash, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 8M 504
Run mode current, peripherals ON, 16M IDD 1402.8 1602.7 μA All peripherals clock ON, while(1) in Flash, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 16M 504
Run mode current, peripherals ON, 24M IDD 2168 2505 μA All peripherals clock ON, while(1) in Flash, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 24M 504
Run mode current, peripherals OFF, 4M IDD 223 384.5 μA All peripherals clock OFF, while(1) in Flash, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 4M 504
Run mode current, peripherals OFF, 8M IDD 390.2 681.9 μA All peripherals clock OFF, while(1) in Flash, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 8M 504
Run mode current, peripherals OFF, 16M IDD 1106.8 1317.8 μA All peripherals clock OFF, while(1) in Flash, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 16M 504
Run mode current, peripherals OFF, 24M IDD 1694.5 2056.7 μA All peripherals clock OFF, while(1) in Flash, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 24M 504
Run mode current, LXT, peripherals ON, Ta=-40to25°C IDD 28 40 μA All peripherals clock ON, while(1) in Flash, VDD=2.5V-5.5V, LXT 32.768KHz (Driver=1), Ta=-40to25°C 504
Run mode current, LXT, peripherals ON, Ta=85°C IDD 34 46 μA All peripherals clock ON, while(1) in Flash, VDD=2.5V-5.5V, LXT 32.768KHz (Driver=1), Ta=85°C 504
Sleep current, peripherals ON, 4M IDD 157.65 184.53 μA All peripherals clock ON, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 4M 504
Sleep current, peripherals ON, 24M IDD 659 753 μA All peripherals clock ON, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 24M 505
Sleep current, peripherals OFF, 4M IDD 95 116 μA All peripherals clock OFF, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 4M 505
Sleep current, peripherals OFF, 24M IDD 266 317 μA All peripherals clock OFF, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 24M 505
Deep sleep current, all off, Ta=-40to25°C IDD 0.95 1.04 μA All Peripherals clock OFF, Vcore=1.2V, VDD=2.5V-5.5V, Ta=-40to25°C 505
Deep sleep current, all off, Ta=85°C IDD 3.4 3.74 μA All Peripherals clock OFF, Vcore=1.2V, VDD=2.5V-5.5V, Ta=85°C 505
Deep sleep current, except RTC/IWDG/LPTIM/AWK, Ta=85°C IDD 3.98 4.38 μA All Peripherals clock OFF, Except RTC,IWDG,LPTIM,AWK, Vcore=1.2V, VDD=2.5V-5.5V, Ta=85°C 505

CAD (KiCad official)

  • Symbol: MS8006
  • Footprint: Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm
  • 3D model: TSSOP-20 (KiCad packages3D, STEP)
  • 3D model files: ms8006-etched.step / ms8006-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); ms8006.step / ms8006.glb are the bare package body.

Provenance

Data extracted from the manufacturer datasheet, not a distributor listing:

  • Datasheet: Macrosilicon datasheet (515 pp, sha256 381ea05ae867ccec, retrieved 2026-10-31, tier: lcsc)
  • Datasheet language: Chinese. Pin names, descriptions, and specs on this page were extracted and translated to English by ds2sf; the linked PDF is the manufacturer original.
  • Extractor: parts-factory 2.0.0 / extract_pins 0.3, primary claude-sonnet-5-5 (text), consensus claude-sonnet-5-5 (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.
  • CAD: KiCad official libraries (CC-BY-SA 4.0).

Datasheet PDF