Complete guidance on Euler angles and quaternions computation using IMU sensors can be found in my course: www.steppeschool.com/courses/stm32-hal-orientation-estimation
Great Job. How do I get to interface mpu6050 with stm32 so that I only get readings anytime there is an interrupt coming from the interrupt pin of the mpu6050 when there is linear or rotational movement?
console is not showing anything, swv is enabled, clock is set properly and the code is running the printf-states (debugging) any suggestions? also swo is soldered ( stm32L476rg nucleo board)
@@steppeschool3629 yes, i have. I have different wiring in my Clock Configuration. I don't have the "MSI" wire in the system clock mux. What should i do to have that MSI wire?
@@shafaaulia1661 probably your st-link programmer is clone, it`s have to be modified by wiring one wire to make SWV works, google it, there are many of examples how to do it
Great video, it really helped me and how did you store the calibration data to the microcontroller's flash memory? it is extremely impractical to perform calibration every time the sensor is powered up.
Hi, This tutorial is part of the attitude estimation course based on the STM32 MCU: www.steppeschool.com/courses/stm32-hal-orientation-estimation You can find the code on GitHub: github.com/Steppeschool/STM32-attitude-estimation
Complete guidance on Euler angles and quaternions computation using IMU sensors can be found in my course:
www.steppeschool.com/courses/stm32-hal-orientation-estimation
How are you getting the output in the SWV ITM Data Console
Great Job. How do I get to interface mpu6050 with stm32 so that I only get readings anytime there is an interrupt coming from the interrupt pin of the mpu6050 when there is linear or rotational movement?
The easiest solution will be using the timer update interrupt in STM32 MCUs. Every time this event occurs, you can sample the IMU sensor.
What if you use the external interrupt to trigger reading the IMU sensor?
Hello can u explain are you using bit-shifting method for the device address?
Hello, If you want to know more about bit shifting, you can check my course:
www.steppeschool.com/courses/stm32-programming-course
console is not showing anything, swv is enabled, clock is set properly and the code is running the printf-states (debugging) any suggestions? also swo is soldered ( stm32L476rg nucleo board)
Hi,
Did you also implement the _write function? Minute 1:45 of this video:
ruclips.net/video/iR34qmfyZtU/видео.html
@@steppeschool3629 yeah but still nothing, even using other suggestions like disable syscall.c nothing shows in swv console
nvm did find the mistake ... had a typo in the _write-fn
@@peacefighter3559 great. Glad that you solved the problem
I am unable to see the output in SWV console what might be the issue ?
Maybe the problem in SWV? Are you sure that you have configured it properly?
@@steppeschool3629 how to configure it
@@steppeschool3629 i have same problem. what else i need to do with the SWV that not show in this video?
you should be on the debug mode
My SWV ITM data Console doesn't show any text, can you explain it? (btw, i'm using MPU6050 and STM32F103C6)
Have you checked my video, where I showed how to configure the SWV?
You can find it here:
ruclips.net/video/iR34qmfyZtU/видео.html
@@steppeschool3629 yes, i have. I have different wiring in my Clock Configuration. I don't have the "MSI" wire in the system clock mux. What should i do to have that MSI wire?
@@shafaaulia1661 probably your st-link programmer is clone, it`s have to be modified by wiring one wire to make SWV works, google it, there are many of examples how to do it
Great video, it really helped me and how did you store the calibration data to the microcontroller's flash memory? it is extremely impractical to perform calibration every time the sensor is powered up.
Hi, I am glad that you find the video helpful. But I did not fully understand your question. You mean configuration of the IMU registers?
How did u connect
hello nice job ! can you upload the code?
source code bro ^-^
Hi,
This tutorial is part of the attitude estimation course based on the STM32 MCU:
www.steppeschool.com/courses/stm32-hal-orientation-estimation
You can find the code on GitHub:
github.com/Steppeschool/STM32-attitude-estimation