using DWT CYCCNT under debugger
Is it OK to use DWT CYCCNT to count individual instruction cycles when stepping instructions (si) with gdb ? I wonder how many cycles a branch takes when it is taken.
Ask questions, find answers, and share insights on STM32 products and their technical features.
Is it OK to use DWT CYCCNT to count individual instruction cycles when stepping instructions (si) with gdb ? I wonder how many cycles a branch takes when it is taken.
Hi, i'm moving from IAR to STM32CubeIDE all my projects based on STM32 microcontrollers. On IAR i modified the entry point of the project from 0x8000000 to 0x8008000. How may do same modify on CubeIDE? Thanks.Massimo Liggio
Hi,I have a board that I designed using the STM32F750Z8. It transfers data from a Himax hm01b0 image sensor via the DCMI port to USB using DMA.This is a stripped down version of my FreeRTOS thread that initializes and reads the image sensor. I've rem...
I am using STM32F429VIT6. Configured SystemCoreClock 168MHz and APB2 clock is 84MHz. I accidentally configured ADC peripheral with "ADC_CommonInitStructure.ADC_Prescaler = ADC_Prescaler_Div2;" but datasheet says max ADC frequency is 36MHz. I am wonde...
We are trying to move the mouse cursor using HID.However, the mouse cursor does not move even though it is USBD_OK in the USBD_HID_SendReport.Why doesn't it work? [IDE]STM32CubeIDE 1.14.0 Connectivity -> USB_OTG_FS -> [Mode]Device_Only Middleware -> ...
Good afternoon, I am developing an hardware with microcontroller in Object. I'm using the LQFP208 package because in my opinion it's easier to solder/remove in my lab. For my application I need the support for: ETHERNETFMC for SDRAMQUADSPISDMMC1USB O...
I am testing the initialization module.The issue is that while debugging, when I set a break point in the if statement or use the printf statement above the while in the sample below, it hangs.It seems to be an event related issue, is there any way t...
Hello,i am working on a diy project which inculdes the interfacing of MPU6050 with STM32F103C8.I am using KEIL IDE to code.The libary am using is from here:https://github.com/leech001/MPU6050This library has kalman filter too, which is great for my p...
I have a project ported from STMU575-EV board to NUCLEO-U575 as well as now also NUCLEO-U5A5 (providing an USB device).It is an USB ECM application (demo) - but it shows you the differences between all the different boards used, in terms of USB initi...
how to simply test the 2.4 tft mucfriend's display is working with stm32h743 144-nucleo board using 8bit parallel, where to get exact code and library? my driver shown in ardrino's ID check coding using serial monitor, it works with ili9325.