These features make the STM32F103xx medium-density performance line microcontroller family suitable for a wide range of applications such as motor drives, application control, medical and handheld equipment, PC and gaming peripherals, GPS platforms, industrial applications, PLCs, inverters, printers, scanners, alarm systems, video intercoms, and HVACs.
Key Features
ARM® 32-bit Cortex® -M3 CPU Core
72 MHz maximum frequency,1.25 DMIPS/MHz (Dhrystone 2.1) performance at 0 wait state memory access
Single-cycle multiplication and hardware division
Memories
64 Kbytes of Flash memory
20 Kbytes of SRAM
Clock, reset and supply management
2.0 to 3.6 V application supply and I/Os
POR, PDR, and programmable voltage detector (PVD)
4-to-16 MHz crystal oscillator
Internal 8 MHz factory-trimmed RC
Internal 40 kHz RC
PLL for CPU clock
32 kHz oscillator for RTC with calibration
Low-power
Sleep, Stop and Standby modes
VBAT supply for RTC and backup registers
2 x 12-bit(4096), 1 μs A/D converters (up to 16 channels)
Conversion range: 0 to 3.6 V
Dual-sample and hold capability
Temperature sensor
DMA
7-channel DMA controller
Peripherals supported: timers, ADC, SPIs, I2 Cs and USARTs
Up to 80 fast I/O ports
26/37/51/80 I/Os, all mappable on 16 external interrupt vectors and almost all 5 V-tolerant
Debug mode
Serial wire debug (SWD)
7 timers
Three 16-bit timers, each with up to 4 IC/OC/PWM or pulse counter and quadrature (incremental) encoder input
16-bit, motor control PWM timer with dead-time generation and emergency stop
2 watchdog timers (Independent and Window)
SysTick timer 24-bit downcounter
Up to 9 communication interfaces
Up to 2 x I2 C interfaces (SMBus/PMBus)
Up to 3 USARTs (ISO 7816 interface, LIN, IrDA capability, modem control)
Up to 2 SPIs (18 Mbit/s)
CAN interface (2.0B Active)
USB 2.0 full-speed interface
CRC calculation unit, 96-bit unique ID
Packages are ECOPACK®
8. On-board Microu USB interface, you can give the board power supply and USB communication. 9. Size:5.3cm x 2.2cm.
// the setup function runs once when you press reset or power the board
void setup() { // initialize digital pin PC13 as an output. pinMode(PC13, OUTPUT); //pinMode(PA2, OUTPUT); //pinMode(PA0, OUTPUT); }
// the loop function runs over and over again forever void loop() { digitalWrite(PC13, HIGH); // turn the LED on (HIGH is the voltage level) //digitalWrite(PA2, HIGH); //digitalWrite(PA0, HIGH); delay(500); // wait for 500mS digitalWrite(PC13, LOW); // turn the LED off by making the voltage LOW //digitalWrite(PA2, LOW); //digitalWrite(PA0, LOW); delay(500); // wait for 500mS }
//----------- TEST I2C LCD 1602A----------------
// STM32F103C8T6 TEST LCD 1602A(I2C)
//Compatible with the Arduino IDE 1.0
//Library version:1.1
#include
#include
#define LEDPIN PC13
// PCF8574T set the LCD address to 0x27 for a 16 chars and 2 line display
// #define I2C_LCD_ADDRESSS 0x27
// PCF8574AT set the LCD address to 0x3F for a 16 chars and 2 line display
digitalWrite(LEDPIN, HIGH); // turn the LED ON (PC13) (HIGH is the voltage level)
delay(500); // wait for 500mS
digitalWrite(LEDPIN, LOW); // turn the LED OFF by making the voltage LOW
delay(500); // wait for 500mS
}
//------------------ END --------------------------------
เงื่อนไขอื่นๆ
STM32F103C8T6 ARM board
STM32F103C8T6 differs from STM32F103C6T6
This is a core chip based on for STM32F103C8T6 ARM core board, features are as follows:
1, the board based on the most basic MCU circuit, 8M and 32768 crystal circuit, USB power supply circuit.
2, the core board is divided into two rows leads to all the I / O port.
3, with SWD simulation debug download interface, simple and convenient, debugging speed.
4, the use of the Mirco USB interface, you can do USB communication and power supply, USB interface, compatible with the ordinary Andrews mobile phone charger interface.
6, RTC crystal Epson brand, easy to start, more stable.
7, with double pin, but the pin does not default welding, the user according to their own application scenarios to choose their own welding direction. If welding is required, please tell the owner.
Keil can be used to compile, IAR compiler, can be downloaded through the J-Link or USART1 procedures, the procedures are the owner and debugging procedures, there are problems can consult the owner.
Chip Description:
1, STM32F103C8T6
Package Type: LQFP;
Number of pins: 48;
Kernel: Cortex-M3;
Operating frequency: 72MHz;
Storage resources: 64K Byte Flash, 20KByte SRAM;
Interface Resources: 2x SPI, 3x USART, 2x I2C, 1x CAN, 37x I / O ports,