Learn RapidSTM32 in A Day

From RapidSTM32

Jump to: navigation, search


This tutorial aims at teaching beginners how to use RapidSTM32 Blockset in ONE DAY (approximately 6 hours). It is recommended that the contents are studied in the presented consecutive order. After completing the tutorial, you will have enough basic knowledge to use the Blockset to implement a variety of basic but useful applications.

Contents

Basic Concepts

The RapidSTM32 Way

This section explains:

  1. Why bother? Who is FiO Boards and RapidSTM32 for?
  2. What is a Microcontroller?
  3. What is and Why STM32?
  4. The Conventional Way of Using Microcontrollers
  5. Matlab & Simulink
  6. What is RapidSTM32?

Getting Ready

This section shows what and how to get started.

  1. Minimum requirements
  2. Install required software
  3. How to Install RapidSTM32 Blockset
  4. Required Hardware
  5. Testing FiO board connection

Your First Matlab/STM32 Program

Your First Matlab/STM32 Program

This section teaches how to use FiO Std board as a simple data acquisition device that reads analog voltages from STM32 on-chip temperature sensor as well as a on-board potentiometer voltage and send the data via USB for real-time plotting in a Simulink Display and Scope.

Interfacing Real World Hardware

  1. Displaying ADC data on a character LCD (1 line)
  2. Displaying data on a character LCD (multiple lines)
  3. Simulating LEDs in Simulink
  4. Driving digital output with the Pulse Generator Block
  5. Simulating push/toggle buttons
  6. Using digital input pins to read user inputs
  7. Generating Electrocardiography (ECG) signals with DAC
  8. Arbitrary Function/Waveform Generator
  9. Generating PWM signals (basic)
  10. Programmatically vary PWM duty cycle
  11. Creating a simple Data Logger system
  12. Reading data from a GPS Module into Simulink

Talking to PC or other FiO boards

  1. Sending data to PC hyper terminal program with USART Block (under development)
  2. Creating a USB (Virtual) COM port

Background Theory

  1. What are Systick and system sample time?
  2. When to use the Real-Time Block? (under development)
  3. STM32 Interrupt Service Routine Priority
  4. RapidSTM32 HIL communication architecture (under development)
  5. All (minimum) you need to know to configure a XBee module
Personal tools
Namespaces
Variants
Actions
Main Menu
In other languages
Toolbox