STM32F103C8T6 development board, program arm stm32 arduino

Share
/ 2018/6/15 15:22:10 / Tech

Intro for STM32F103C8T6 

The STM32F103C8T6 is a development board for the ARM Cortex-M3 processor, designed to provide a low-cost platform that can still meet the requirements of many developers. These board's features make it ideal for a wide range of applications such as motor control, power management, medical and handheld equipment, PC and gaming peripherals, GPS platforms, industrial applications and more.

STM32F103C8T6.jpg


STM32F103C8T6 medium-density performance line family incorporates the high-performance ARM Cortex-M3 32-bit RISC core operating at a 72 MHz frequency, high-speed embedded memories (Flash memory up to 128 Kbytes and SRAM up to 20 Kbytes), and an extensive range of enhanced I/Os and peripherals connected to two APB buses. All devices offer two 12-bit ADCs, three general purpose 16-bit timers plus one PWM timer, as well as standard and advanced communication interfaces: up to two I2Cs and SPIs, three USARTs, an USB and a CAN. The devices operate from a 2.0 to 3.6 V power supply. They are available in both the 40 to +85 °C temperature range and the 40 to +105 °C extended temperature range. A comprehensive set of power-saving mode allows the design of low-power applications.


stm32f103c8t6 pinout schematic

STM32F103C8T6 pinout.jpg   


STM32F103C8T6 parameters

CategoriesIntegrated   Circuits (ICs) 
ManufacturerSTMicroelectronics
SeriesSTM32F1
Part StatusActive
Core ProcessorARM® Cortex®-M3
Core Size32-Bit
Speed72MHz
ConnectivityCAN,   I2C, IrDA, LIN, SPI, UART/USART, USB
PeripheralsDMA,   Motor Control PWM, PDR, POR, PVD, PWM, Temp Sensor, WDT
Number of I/O37
Program Memory   Size64KB (64K x 8)
Program Memory   TypeFLASH
EEPROM Size-
RAM Size20K x 8
Voltage -   Supply (Vcc/Vdd)2 V ~ 3.6 V
Data   ConvertersA/D 10x12b
Oscillator   TypeInternal
Operating   Temperature-40°C ~ 85°C (TA)
Package / Case48-LQFP
Base Part   NumberSTM32F103 


Tutorial to Program STM32F103C8T6 ARM STM32 arduino

STM32F103C8T6 is a very cheap but very fast ARM STM32 micro controller. You can run simple sketches very easy by following the steps below.
STM32F103C8T6 schematic .jpg
1. Download the latest Arduino IDE from arduino.cc and extract it. You can also download the Arduino IDE .exe file and install it to your computer.

2. After downloading the file from this link, extract it and copy the Arduino_STM32-master to your Arduino / hardware folder that you extract in the first step. If you have downloaded the .exe file then go to C:\Programs\Arduino\hardware.

3. Run the Arduino IDE, choose settings: 'Board: Generic STM32F103C series' 'Variant: STM32F103C8 (20k RAM, 64k Flash)' 'Upload method: Serial' 'Port: <the COM port of your USB-to-serial adapter>'

4. Go to File->Exampls A_STM32_Exampls->Digital->Blink and change the PB1 to PC13.

5. Put Boot1 to 1 by moving the jumper for 0 to 1, Press the Reset button and hit Upload on the Arduino IDE. After uploading if all went well the LED will blink every 100ms. Put Boot1 to 0 again so the next time you power up the micro controller the program will star automatically.

You can also try to read an analog value. Go to File->Exampls A_STM32_Exampls->Analog->AnalogInSerial. Change the const int analogInputPin = 15; to const int analogInputPin = PA0; and hit upload. Open the Serial Monitor on the Arduino IDE, the value will be from 0 to 4095, it has 4 times the resolution of an arduino.


Features of STM32F103C8T6 

Embedded Flash memory

- Up to 128 Kbytes of embedded Flash is available for storing programs and data.

 

Embedded SRAM

- Up to 20 Kbytes of embedded SRAM accessed (read/write) at CPU clock speed with 0 wait states.

 

Boot modes

At startup, boot pins are used to select one of three boot options:

- Boot from User Flash

- Boot from System Memory

- Boot from SRAM

The boot loader is located in System Memory. It is used to reprogram the Flash memory by using the USART.

 

Power supply schemes

- VDD = 2.0 to 3.6 V: external power supply for I/Os and the internal regulator. Provided externally through VDD pins.

- VSSA, VDDA = 2.0 to 3.6 V: external analog power supplies for ADC, Reset blocks, RCs and PLL. In VDD range (ADC is limited at 2.4 V).

- VBAT = 1.8 to 3.6 V: power supply for RTC, external clock 32 kHz oscillator and backup registers (through power switch) when VDD is not present.

 

Power supply supervisor

The device has an integrated Power On Reset (POR)/Power Down Reset (PDR) circuitry. It is always active, and ensures proper operation starting from/down to 2 V. The device

remains in reset mode when VDD is below a specified threshold, VPOR/PDR, without the need for an external reset circuit. The device features an embedded programmable voltage detector (PVD) that monitors the VDD power supply and compares it to the VPVD threshold. An interrupt can be generated when VDD drops below the VPVD and/or when VDD is higher than the VPVD threshold. The interrupt service routine can then generate a warning message and/or put the MCU into a safe state. The PVD is enabled by software.

 

Voltage regulator

The regulator has three operation modes: main (MR), low power (LPR) and power down.

- MR is used in the nominal regulation mode (Run)

- LPR is used in the Stop modes.

- Power down is used in Standby Mode: the regulator output is in high impedance: the kernel circuitry is powered-down, inducing zero consumption (but the contents of the registers and SRAM are lost) This regulator is always

 

Low-power modes

The STM32F103xx performance line supports three low-power modes to achieve the best compromise between low power consumption, short startup time and available wakeup sources:

- Sleep mode, In Sleep mode, only the CPU is stopped. All peripherals continue to operate and can wake up the CPU when an interrupt/event occurs.

- Stop mode, Stop mode allows to achieve the lowest power consumption while retaining the content of SRAM and registers. All clocks in the 1.8 V domain are stopped, the PLL, the HSI and the HSE RC oscillators are disabled.

- Standby mode, The Standby mode allows to achieve the lowest power consumption. The internal voltage regulator is switched off so that the entire 1.8 V domain is powered off.

 

More applications for STM32F103C8T6

STM32F103C8T6 performances line microcontroller family suitable for a wide range of applications:

- Motor drive and application control

- Medical and handheld equipment

- PC peripherals gaming and GPS platforms

- Industrial applications: PLC, inverters, printers, and scanners

- Alarm systems, Video intercom, and HVAC



Go to view and download the datasheet pdf for STM32F103C8T6 from HQEW.NET.

Its a global leading electronic components & IC B2B platform based in Shenzhen Huaqiang Electronic World that has the biggest transactions for this industry in China. It will be a great place for you to step into the electronic markets of electronic components and IC, gathering numerous suppliers and millions of e-parts.

Relevant articles recommend

Hot Products

USD 0.455-0.455/Piece
USD 0.495-0.5/Piece
> 1000 Pieces USD 1.50/Piece
> 100 Pieces USD 1.70/Piece
> 1 Pieces USD 1.90/Piece
> 15000 Pieces USD 1.26444/Piece
> 6000 Pieces USD 1.34140/Piece
> 3000 Pieces USD 1.42936/Piece
USD 1.516-1.52/Piece
Top suppliers

Response Time

24h

Response Rate

100.00%

Product:Microchip,ATMEL,ADI,ON.NXP,TI,MPS,POWER,MAXIM, IR,VISHAY,XILINX,ALTERA,TOSHIBA ,AVAGO.MPS,INFINEON,LITEON
Keming Electronics Development Co., Ltd
4

Response Time

24h

Response Rate

100.00%

Product:Original Semiconductor, NXP,TI,ST,HIT,TOS,NS,ON,FSC,EL,HAR,ITS,NEC,JRC,SHARP,INFINEON,Sunlord,CJ,LRC,Arduino parts,etc.
WINTRONIC INDUSTRIAL HK CO LIMITED
4

Response Time

24h

Response Rate

100.00%

Product:IC,Module, bluetooth chips, RF chips, USB-UART chips
Action Dynamic Tech. (HK) Trading Co.
17

Response Time

24h

Response Rate

100.00%

Product:capacitors,diodes,transistors,MOS,IC
JIESTAR ELECTRONICS CO.,LIMITED
15

Response Time

24h

Response Rate

100.00%

Product:module,IC,Capacitance,resistance,connector
Shenzhen Goodview Global Limited
10

Response Time

24h

Response Rate

100.00%

Product:Allegro,Quectel,RDA,ST,SIMcom,TI,VISHA, MCU,WIFI,BT,2\3\4G,GNSS,NB-IOT
SHENZHEN JINXIDA ELECTRONIC TECHNOLOGY CO.,LTD
12
Contact Us

+86-755-83536845

One to One Customer Service

17190417227