Skip to content

Learn STM32F103C8T6 microcontroller programming through practical projects. Includes self-developed Modbus RTU implementation and detailed flowcharts.

License

Notifications You must be signed in to change notification settings

TrinhHuuGiang/tutorial-C-STM32F103

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tutorial-C-STM32F103

This repository is created to help learn and practice with the STM32F103C8T6 microcontroller (Blue Pill).


HAL coding with STM32cube

Topic Note Code Demo
GPIO - blink
- interrupt
- 101
- 102
-
UART - UART & protocols - uart
- uart & COBS
- uart dma
- uart & simpleModbus RTU
- uart simple
- uart cobs RS485
- uart Modbus RTU read slave ID
ADC - adc - 104 - master reads adc from slave
- master sends to PC adc value read from slave
TIMER - timer - 105 - timer count up 1 second
FLASH MEMORY - flash memory - 106 - receive message from PC, write and send old message & new message was writen

Other feature:


Requirements:

  1. Programming and Compilation:
  • Windows:
    • Keil uVision 5
  • Linux:
    • libopencm3
    • GNU Arm Embedded Toolchain

  • STM32CubeIDE (recommended)
  1. Code Uploading:
  • STM32 ST-LINK Utility
  • stlink
  1. Board:
  • STM32F103C8T6
  • ST-LINK V2

References

About

Learn STM32F103C8T6 microcontroller programming through practical projects. Includes self-developed Modbus RTU implementation and detailed flowcharts.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages