STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F407 timer question?

Hi,I am trying to use either TIM13 or TIM14 but the ISR never get trigger.My questions areWhy the ISR routine never trigger? Is there anything else need be set?how to control the timer? what's the prescaler, period mean? If I want setup the timer tri...

Can __HAL_LOCK in stm32 code cause race condition issues

Posted on March 19, 2018 at 10:24The __HAL_LOCK macro is defined as in stm32f1xx_hal_def.h#define __HAL_LOCK(__HANDLE__) \ do{ \ if((__HANDLE__)->Lock == HAL_LOCKED) \ { \ return HAL_BUSY; \ } \ else \ { \ (__HANDLE__)->Lock = HAL_LOCKED; \ } \ }whi...

Kefei Yao by Associate III
  • 3230 Views
  • 18 replies
  • 0 kudos

Peak value on ADC ?

Dear Member,I want to get a peak value from ADC,How can I get it on the code ?Loop and array ?Any references ?Kind regards,A

SysTick_Handler called at 3ms interval instead of 1ms

Platform: STM32F429 Discovery KitI have created a simple project using Keil, to toggle GPIOs. The self generated code sets the clock at 168MHz. When I look at the timing for the SysTick_Handler call, it is 3ms instead of the 1ms that I expected. Why...

JAcos by Associate II
  • 1049 Views
  • 6 replies
  • 0 kudos

STM32L011F4 power consumption

Hi team,i need your help, i use STM32L011F4 controller ,This controller consuming 2mA current in sleep mode, as per datasheet it consumes only a less than 0.5mA current in sleep mode, i can use only a I2C and RTC peripheral with 16MHz frequency.......

STLinkV2 detected Cannot connect to target

Hi allI am new learner for use the STLink V2 programmer.I'm detect the error "cannot connect to the target" unable program to my MCU.I use my JTAG 20 pins connector and use few pin NRST,VCC,GND,SWDIO,SWCLK connect to my UUT connector .And also power ...

0690X000006CKztQAG.jpg 0690X000006CKzoQAG.jpg 0690X000006CKzjQAG.jpg 0690X000006CKzeQAG.jpg
tyee by Associate
  • 368 Views
  • 0 replies
  • 0 kudos

HAL_SPI_Transmit uint16_t size limit

Hello,I would like to send a uint32_t size array via HAL_SPI_Transmit / HAL_SPI_Transmit_DMA but both are limited to 16 bit size. I have tried casting as HAL_SPI_Transmit(&hspi1,Array,(uint16_t)65537),10000)but this doesn't work.I have also tried edi...

SSmit.0 by Associate II
  • 4282 Views
  • 13 replies
  • 0 kudos

How do I import a sample project into Eclipse?

How do I import a Cube project? I once managed to set up a project where I am able to write firmware for the stm32f746g-disco board using the tutorial https://www.carminenoviello.com/2015/07/13/started-stm32f746g-disco/ Even after the instructions I ...

MMett by Associate III
  • 632 Views
  • 3 replies
  • 0 kudos

Resolved! STM32F030F4P6 with Arduino IDE or Atmel Studio

Hello,I have just got a new board that I purchased using the STM32F030F4P6 MCU.This is a Mini Developing board that you can get from Ali Express and it is good as well IMHO.The Board that I have is:And I am bit struggling to make it to work under Ard...

0690X000006C5ywQAC.jpg
AGUET by Associate II
  • 4177 Views
  • 5 replies
  • 0 kudos