Category:MCUs

From ElectroDragon
Jump to: navigation, search

Main Stream

Core Toolchain Vendor Series RMB - Main Stream ICs Main Features Arduino
32bit ARM Cortex M0 MDK-ARM STM32 F0
  • 3 - STM32F030F4P6
Not fully compatible
32bit ARM Cortex M0+ MDK-ARM AVR
  • ATSAMD21G18
Compatible - "STM32 Cores"
32bit ARM Cortex-M3 MDK-ARM AVR
  • SAM3X8E - AT91SAM3X8E
Compatible - "STM32 Cores"
32bit ARM Cortex-M3 MDK-ARM STM32-F1
  • 7.5 - STM32F103
STM32duino, Arduino_STM32
32bit ARM Cortex M4F MDK-ARM, micro-python STM32-F4
  • 23 - STM32F405RGT6


32bit WCH56x Keil C51 WCH
  • 23 - CH563
MCU+USB+Ethernet
32bit ESP32 Arduino, ESP-IDF ESP
  • ESP32
MCU+WIFI+BT Compatible
8bit LPC MDK-ARM, mbed NXP
  • 2.5 - LPC922
8bit 8051 STC Keil C51 STC15
  • 1.5 - STC15F104W-35I-SOP8
  • 2.5 - STC15W408AS-35I-SOP16
8bit 8051 STC Keil C51 STC12
  • 5.5 - STC12C5A60S2-35I-LQFP44
8bit Nutovon Keil C51 Nutovon
  • 1.3- N76E003 - TSSOP20
Don't have free GCC, can not support Arduino IDE
8bit STM8S IAR for STM8, ST Visual Develop STM8
  • 2.7 - STM8S003F3P6 - TSSOP20
Don't have free GCC, can not support Arduino IDE
8bit AVR Keil C51 ATMEGA
  • 9 - atmega328P - tqfp48
  • 19 - atmega32u4 (pro micro, leonardo)
Compatible
8bit PIC MPLAB IDE PIC16F
  • 2.2 - PIC12F675-I/SN
  • 3.3 - PIC16F684-I/SL - SO16
  • 4 - PIC16F1933
8bit Logicgreen Post Build LGT
  • 0.4 - LGT8P663A - SO14
  • 0.7 - LGT8F684A - SO16
  • 1.2 - LGT8F690A - TSSOP20
  • 2.8 - LGT8F328P - tqfp48
Compatible
8bit ESP8266 Arduino, ESP-IDF ESP
  • 9 - ESP8285
  • 7 - ESP8266
MCU+WIFI Compatible
8bit WCH55x Keil C51 WCH
  • 2 - CH551 - SO16
  • x - CH554
  • x - CH559
MCU+USB
RTL  ? RTL
  • RTL8195
  • RTL8711
- Compatible
ED20 mbed Quectel, Electrodragon, MediaTek
  • ED20
MCU+GPS+GPRS 2G -
RDA89xx - RDA
  • RDA59--
MCU+GPS+GPRS 2G -
SIM8xx OpenMCU SIMCOM
  • 18 - SIM800
  • x - SIM868
MCU+GPS+GPRS 2G -
RDA59xx mbed RDA
  • 7 - RDA5981A
MCU+WIFI -
RDA58xx mbed, Keil RDA
  • RDA5856
MCU+Bluetooth Audio -


NRF Arduino
  • NRF51822
  • NRF51832
MCU+Bluetooth Compatible
MSP430 Launchpads Energia

Arduino IDE Supported

Header text Header text Header text
Ameba (RTL8195AM, RTL8711AM, RTL8711AF) https://github.com/Ameba8195/Arduino/raw/master/release/package_realtek.com_ameba_index.json Example
Digistump (Official) http://digistump.com/package_digistump_index.json
ESP8266 Community http://arduino.esp8266.com/stable/package_esp8266com_index.json 6343
Balanduino https://github.com/TKJElectronics/Balanduino 89
STM32duino https://github.com/stm32duino/Arduino_Core_STM32 67
Arduino_STM32 https://github.com/rogerclarkmelbourne/Arduino_STM32 837
arduino-nRF5 https://github.com/sandeepmistry/arduino-nRF5 198
attiny https://github.com/damellis/attiny 466
attinycore https://github.com/SpenceKonde/ATTinyCore 278
nRF51822-Arduino https://github.com/RedBearLab/nRF51822-Arduino 221 NRF51822

Common Type MCU

MCUs Type Company Price Package Flash, SRAM, EEPROM Speed Resoucrces Extra Software PDF
EFM8BB10 8 Silabs EFM8 5-7 SO16, QFN20 Flash-8KB, RAM-512B 25M ADC*1/PWM*3/Timer*4/UART*1/SPI*1/I2C*1
STM8S003F3P6 8 STM8 1-2 TSSOP20 8KB/1KB/128b 16 MHz
STC15F101W, STC15F104(W) 8 STC STC15 1-2 SOP8 4KB/128B/1KB ~35MHz
STC15W204S 8 STC STC15 1-2 SOP8, SOP16 4KB/256B/1KB  ?
PIC12F629/675 8 PIC 1-2 SOP8 1.75KB/64B/128B
ATTINY13A-SSU 8 AVR 3-5 SOP8 Flash-1KB, SRAM-64B, EEPROM-64B 20 MHz Timer*1/PWM*2/ADC*4 Arduino
ATmega328/P 8 AVR 5-7 DIL28, TQFP Flash-32KB, SRAM-2KB, EEPROM-1KB 20 MHz Timer*3/PWM*6/ADC*14/SPI*2/UART*1/SPI*1
LGT8F328D 8 Logicgreen 2-3 TQFP 32KB/2KB/0~8KB(share with FLASH) 16M (MAX 32M)
EM78P173N 8 EMC OTP-ROM 0-1 PDF
MSP430F413 16 MSP 3-5 64-Pin QFP(PM), QFN Flash-8KB+256B, SRAM-256B PDF
STM32F030F4P6 32 STM32 2-4 TSSOP20 Flash-16~256 KB, SRAM 4-32KB/

PDF

STM32F103C8T6 32 STM32 6-8 LQFP48 Flash-64~128KB, SRAM-20KB 72 MHz

datasheet link

ESP8266 32 Esprssif 7-9 32P Flash-EXT., 64KB instruction, 96KB data 80/160M Uart*1/I2S(shared)/I2C(software)/SPI/GPIOs*16 IEEE 802.11 b/g/n, WEP, WPA/WPA2, Arduino
RDA5981 32 RDAmicro - QFN-40 Flash-32Mb, SRAM-448KB Cortex M4 160M
  • Uart*2/I2S*2/I2C*1/PWM*8/SPI*4/GPADC*2
  • SDIO/USB2.0/
  • IEEE 802.11b/g/n
  • 2.4GHz HT20/40
  • WEP, WPA/WPA2, TKIP,CCMP
mbedOS/FreeRTOS
NRF51822 32 Nordic - 256kB/128kB flash + 32kB/16kB RAM Cortex M0 275/150M
  • ADC*8/GPIO*31/Timer*3/SPI*1/UART*1/IIC*1
  • RTC
BLE Arduino
RTL8710AF 32 RTL - QFN48 F-1M/A-512KB/O-1M 83M SDIO*Slave/SPI*1/UART*2/IIC*1/PWM*4/GPIO*17
  • IEEE 802.11b/g/n
  • 2.4GHz HT20

Microcontroller Overview

Definition: A microcontroller is a single chip containing at least a CPU, non-volatile memory, volatile memory, a timer and an I/O control unit.


Basically a microcontroller can be described as a computer on a chip. The difference between a microcontroller and a regular PC is that the PC is a general purpose computer while a microcontroller is a computer dedicated to one or just a few tasks.


A microcontroller apart from the above mentioned components usually also include, but not limited to, serial communication capabilities, interrupt controls and analog I/O capabilities. The figure below gives the basic layout of a general AVR microcontroller.
Microcontoller Components.png

Microcontroller (MCU) vs Microprocessor

What is a microcontroller?


A Microcontroller is basically a computer on a chip. It differs form normal desktop or laptop computers in that a microcontroller is an application specific computer that usually runs a single program performing dedicated task(s) while the the later two are general purpose computers that can run numerous programs depending on a users needs. A microcontroller contains on chip CPU, input/output interface, memory, clock, timer, and an assortment of of other peripherals.


A Microprocessor on the other hand is just a CPU one has to add externally memory, clock, input/output interfaces, timer and all other needed peripheral. This is the reason a microprocessor has so many pins.

Microcontroller-Microprocessor.png

Advantages of a similar microcontroller vs microprocessor product

  • Product smaller - A microcontroller product has many components on one chip and so is more compact. With a microprocessor product one have to add several other chips and so its bulky.
  • Cheaper - All the components on a microcontroller is manufacturer on a single chip and so is mush cheaper than having to manufacture several chips as is the case for a microprocessor system.
  • AVR Tutorials hopes that this tutorial on microcontroller vs microprocessor systems was beneficial to you and looks for to your continued visits for all your microcontroller tutorial needs.

ROM & RAM

  • ROM (or flash-based MCU) - CPU can only read, can not write, save user program in ROM
  • RAM - CPU can write or read data, when power lost data also lose

Explain

  • 标准51单片机是12T的,就是说12个时钟周期(晶振周期,例如12M的,周期是1/12M,单位秒),机器做一个指令周期,刚好就是1/12M*12=1uS,常见指令例如_nop_就是一个周期,刚好1uS,其他的大多多于一个周期,乘除法更多。所以如果计算指令时间可以这样算。

Documents

Subcategories

This category has the following 3 subcategories, out of 3 total.

Pages in category "MCUs"

The following 2 pages are in this category, out of 2 total.