How do I calculate how many clock cycles are needed to run block of code?
Is it possible to calculate how many clock ticks a function or select block of code will use up?
Ask questions, find answers, and share insights on STM32 products and their technical features.
Is it possible to calculate how many clock ticks a function or select block of code will use up?
Hi everyone!I'm using a custom board with an stm32l051 and an lsm6ds3(and two 4.7kohm pull-ups). I am setuping the I2C1 (pins PB7 SDA and PB8 SCL). then I do the IMU setup in which I write some values to control registers on the IMU. then I read the ...
In RM0440, it states that "Generation of a single interrupt request for the DMA1 controller," however looking at the exception vectors indicates that there is a separate interrupt vector for each channel for both DMA 1 and 2. Also the stm32cube libra...
Hi all,I am using STM32F303CB microcontroller, connected with a I2C slave which has no CLK stretching support. The I2C bus lines are pulled high with 4k75 ohms resistors and the lines have a serial resistor of 50 ohms (approx.). The schematic looks l...
We have got quite complicated repositories structure and excluding everything manually for new projects takes too much time.
Hello everyone.. After a lot of efforts, I found a working library for 3.2" TFT color LCD display with ILI9341 driver (240x320) which I am interfacing with my Nucleo F401RE development board. I just tried writing a simple "Hello World" code after fil...
Hello, ST expertIn our custom MCU board design, some GPIO pins can be drived HIGH before MCU is power on. I found that sometimes (low possibility)these GPIO pins damaged, that means these pins can not be drived high again. I am not certain it is cau...
Hello,I am trying to connect to my STM32F429I-DISC1 (E01 revision) board's USART1 on pins PA9 and PA10 using an FT2232HL as USART to USB interface. I've seen in the user manual of the STM32F429I-DISC1 that the solder bridges SB11 and SB15 connecting ...