STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! indexing a array

hiI want to locate a string in an other string and then mark its position with an 'X'. here is the code#include "main.h" #include "adc.h" #include "dma.h" #include "i2c.h" #include "usart.h" #include "gpio.h" #include "stm32f1xx.h" #include <string.h...

Ala by Senior
  • 761 Views
  • 4 replies
  • 0 kudos

Hi , I would like to know if there is a way to use DMA to get the TIM1 advanced timer update events ? I can successfully trigger an IRQ but having problems setting a DMA to trigger on every update. I am using STM32 L4 MCU.

I am using the advanced timer TIM1 on STM32L476RG MCU. I have configured the timer in slave reset mode as given in section 30.3.26 of the reference manual. The counter resets every rising edge. I want to use this mode to measure low frequencies such ...

RRV.1 by Associate II
  • 569 Views
  • 4 replies
  • 0 kudos

Three phase AC input to 5V/500mA transformerless

A) Input is 3 phase acB) Output required is 5Vdc/500mA C) Should be trasnformless, inductor can be usedI checked VIPER318HD, ( https://eds.st.com/console/#/app/acdc/ic_acdc_catalogs/filter/%5B%22buck%22%5D/selected/viper318hd:buck ) & designed using ...

Low power modes on STM32L4 series MCU

Hi, Below is my requirement: Need to send a DAC sample every 2ms (on 32KHZ clock) Every 12 sec will do an access to external flash to copy a block of memory (on HSI clock)how can i accomplish this? am new to microcontroller, can anyone help me with s...

Vvenk.1 by Associate
  • 724 Views
  • 2 replies
  • 0 kudos

DWT_CYCCNT does not seems to count cycle

I'm using follow code:volatile unsigned int *DWT_CYCCNT = (volatile unsigned int *)0xE0001004; //address of the register volatile unsigned int *DWT_CONTROL = (volatile unsigned int *)0xE0001000; //address of the register volatile unsigned int *DWT_L...

leonardo by Associate III
  • 1385 Views
  • 4 replies
  • 0 kudos

Run Debugger in one step

hi I want to enter the debugger mode and then run the whole code by clicking 'Run' button or F5. but every time that I click 'Run' it just goes one step forward and it even enters inner functions...what should I do?

Ala by Senior
  • 404 Views
  • 2 replies
  • 0 kudos

Hello, My c code is generated from stm MAT-TARGET, but when I run main file of the IDE(Keil and stm32cubeide) nothing happens on the board. Just trying to run simple blink led model.

 I am using stm32 F746ZG Nucleo LQFP 144. I am using stm32 MAT-TARGET to generate c code from my simulink model.I have read in the provided pdf by the Stm MAT-TARGET that stmcubeide is not well supported by this. So I am using Keil V5. Now after gene...

MAziz.1 by Associate II
  • 296 Views
  • 0 replies
  • 0 kudos