What is the computational speed of the PID algorithm? In order to measure this, I will use GPIO PG2 as a flag that can be measured with my scope. But first I will improve the placement of my variables. It is very annoying with STM32CubeMonitor Read More …
Monat: Juni 2023
STM32H743 PID lab
A NUCLEO_H743ZI (any other similar boards work, too), a resistor (I used 1k8), some pieces of wire and a scope is all that it takes to perform interesting experiments with digital control loops! The idea: Output resistance R2 between DAC1 out and the output node Read More …
STM32H743 ADC->DAC latency
For applications like active noise cancellation, motor control and similar applications, high bandwidth control loops are needed. For implementing fast digital control loops, the time delay between an analog input signal at the ADC input and the calculated analog output signal at the DAC output Read More …
STM32H743 EXTI3 Interrupt Latency (and how to improve it)
I was curious to find out how fast the interrupt response of a STM32H743 can be. I connected a simple square wave generator to Pin PG3 of my old NUCLEOH743ZI-Board. A PWM output of my raspberry Pi PICO was used as a square wave generator Read More …