Drafts by Mehran Mozaffari
This tutorial focuses on the fundamentals of communicating with the (Analog-to-Digital Conversion... more This tutorial focuses on the fundamentals of communicating with the (Analog-to-Digital Conversion) ADC module of STM32 boards. The specific question of this tutorial is how to perform the ADC / DAC operations in both single and continuous modes with maximum sampling frequency in real-time mode. The presented algorithm implements a real-time phase inversion on the input signal read by the ADC module. A dummy PID controller is added to the developed codes to demonstrate the benchmark application of ARM CMSIS DSP library to the readers. The practical application of ADC module for single-channel real-time control is well-documented in this tutorial. What you will learn is how to: 1) Download the STM32 software packages, 2) Compile ARM CMSIS 4.5.0 DSP library in STM32CubeIDE, 3) Select between different modes of ADC module: Single or Continuous, 4) Configure and utilize TIM / ADC / DAC / GPIO modules of the microcontroller, 5) Program NUCLEO-F746ZG in STM32CubeIDE using C programming language, 6) Examine the real-time performance of developed codes.
Papers by Mehran Mozaffari
This tutorial focuses on the fundamentals of communicating with the (Analog-to-Digital Conversion... more This tutorial focuses on the fundamentals of communicating with the (Analog-to-Digital Conversion) ADC module of STM32 boards. The specific question of this tutorial is how to perform the ADC / DAC operations in both single and continuous modes with maximum sampling frequency in real-time mode. The presented algorithm implements a real-time phase inversion on the input signal read by the ADC module. A dummy PID controller is added to the developed codes to demonstrate the benchmark application of ARM CMSIS DSP library to the readers. The practical application of ADC module for single-channel real-time control is well-documented in this tutorial. What you will learn is how to: 1) Download the STM32 software packages, 2) Compile ARM CMSIS 4.5.0 DSP library in STM32CubeIDE, 3) Select between different modes of ADC module: Single or Continuous, 4) Configure and utilize TIM / ADC / DAC / GPIO modules of the microcontroller, 5) Program NUCLEO-F746ZG in STM32CubeIDE using C programming language, 6) Examine the real-time performance of developed codes.
This brief tutorial is specifically written to assist the beginner users of STM32 boards in order... more This brief tutorial is specifically written to assist the beginner users of STM32 boards in order to learn the fundamentals of how to activate and work with the (Digital-to-Analog Converter) DAC module. It is intended to show the different methods of using the DAC module on the STM32 boards with application to signal generation for system identification purposes. In this tutorial you will learn how to: 1) Download the STM32 software packages, 2) Compile ARM CMSIS 4.5.0 DSP library in STM32CubeIDE, 3) Configure and utilize TIM / DAC / GPIO modules of the microcontroller, 4) Generate different wave forms for system identification applications, 5) Program NUCLEO-F746ZG in STM32CubeIDE using C programming language, 6) Excite the dynamics of a mechatronics system using the developed algorithms.
Uploads
Drafts by Mehran Mozaffari
Papers by Mehran Mozaffari