Skip to content

Ciusss89/_stm32_app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project for CYBER PHYSICAL SYSTEMS course

Instructions

  1. git clone https://github.com/Ciusss89/_stm32_app.git
  2. cd app
  3. git submodule update --init # (Only needed once)
  4. make -C libopencm3 # (Only needed once)
  5. make
  6. write the firmware on the device: st-flash write *.bin 0x8000000

Directories

  • app contains: your application
  • common-code: contains something shared.
  • app/old_main: contains the examples, check the instructions in the dir.

Debug by UART

The Nucleo board has debug chip on-board. It connectes its virtual COM ( /dev/ttyACM0 ) to the SUART2 of the mcu:

sudo picocom -b 115200 /dev/ttyACM0

Hardware Overview

The Nucleo-F401 is a board from ST's Nucleo family supporting a ARM Cortex-M4 STM32F401RE microcontroller with 96Kb of SRAM and 512Kb of ROM Flash.

Nucleo64 F401

MCU

MCU STM32F401RE
Family ARM Cortex-M4
Vendor ST Microelectronics
RAM 96Kb
Flash 512Kb
Frequency up to 84MHz
FPU yes
Timers 11 (2x watchdog, 1 SysTick, 6x 16-bit, 2x 32-bit [TIM2])
ADCs 1x 12-bit
UARTs 3
SPIs 4
I2Cs 3
RTC 1
Vcc 2.0V - 3.6V
Datasheet Datasheet
Reference Manual Reference Manual
Programming Manual Programming Manual
Board Manual Board Manual

About

Simple empty template to base your poject on

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 63.3%
  • Makefile 34.1%
  • Assembly 2.6%