Creating delay using __asm__("nop")
How to measure the time from __asm__("nop") on STM32F730 using 216 MHz clock? I did try to check it using osciloscope without success. The time is bigger than 1/216 MHz.
Ask questions, find answers, and share insights on STM32 products and their technical features.
How to measure the time from __asm__("nop") on STM32F730 using 216 MHz clock? I did try to check it using osciloscope without success. The time is bigger than 1/216 MHz.
Hello - I have been working with the l051 for 2+ years now on a product, using i2c-1 as slave to outside world and i2c-2 as master for local board downstream devices. while my interrupt-driven code "works," I continue to have bugs filed about both ma...
Hello, I am having a problem. I am using STM32F411CE and NRF24L01 module. I try to sample sound using ADC and then I send it using RF to another uC. I sample a simple sine wave at 48kHz with 16 bit resolution using IT. I send 32 bytes at one time usi...
I need to configure STM32G473 ADC in 16-bit mode, Currently i configured it in 12 - bit mode it works fine but as per my application i need 16-bit resolution. As datasheet indicates it is possible to configure 16-bit mode by oversampling, but is ther...
Device : STM32F072RBT6 DiscoveryDebugger: ST-LinkV2Core : ARM Cortex M0SDK : NilIDE : VSCode with ARM GCC CompilerHi,We are trying to do profiling on our device. We are planning to use GNU gprof.We are trying the solution given in the below l...
Hello, we are currently porting some code from STM32F070 to STM32F446. In the original code, we used to use a generic byte from the option bytes to keep some flags between two resets, without using one page of the onboard flash memory, using somethin...
I want to control servo movement with potentiometer. I'm using ADC and getting the pot value. But i don't know how to control the pwm with this value. What should i use?Thanks in advance.
On page 894 the paragraph just above Table 224 says:Table 224 givesthe 8 available options per timer: CMPx refers to blanking from counter reset to comparematch, Tx2 refers to the timing unit TIMx output 2 waveform defined with HRTIM_SETx2and HRTIM_R...
Hi,i'm dealing with the window watchdog.as my program erases a sector in flash i created a watchdog irq handler in RAM which retriggers the watchdog wen the sector is erased.my Watchdog irq has the highest priority. all other irqs have lower priorit...
Using a STM32G071RBT6 on a Nucleo-64 board. Board is powered by its USB port.According to user manual schematic VREF+ is connected to VDD (jumpers are installed).At CN6.4 (VDD) we measure 3.322 V against CN6.6 (GND).ADC is calibrated, CALFACT varyin...