STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

New possibilities for the ultra-low power segment!

STM32U0 is the first Cortex-M0+ with a static consumption of only 160 nA in standby mode with RTC (Real-Time Clock) and 16 nA in shutdown. It also achieves 118 points in CoreMark and targets SESIP level 3 and PSA level 1 focusing on firmware code pro...

gif-stm32u0.gif

using ch1..ch4 channel of TIM5

Posted on April 27, 2013 at 17:44 Hello, I'd like to use 4 channels of TIM5 as independent pulse counter, but CCR1..4 seems to have some non-sense value. Here's the code: void TIM5_Init( void ) { GPIO_InitTypeDef GPIO_InitStru...

bsimone by Associate II
  • 486 Views
  • 4 replies
  • 0 kudos

Problem with SPI and LIS3LV02DQ

Posted on April 26, 2013 at 23:57Hello,I'm astudent of computer engineering, I'm trying to interface a STM32F0_Discoverycard with an LIS3LV02DQ accelerometer using the SPI protocol, but I'm havingtrouble with the initialization of the pins of the ST...

CCR2 won't update

Posted on April 26, 2013 at 22:54 Hello, I'm trying to count pulse on PB7 using timer TIM4 ch2. Everything is ok, but I'd like to reset CCR2 so I can start another measure. I tried with TIM_SetCompare2(TIM4, 0); but CCR2 isn't set to 0 after execu...

bsimone by Associate II
  • 346 Views
  • 2 replies
  • 0 kudos

pwm signal for stepper motor

Posted on April 26, 2013 at 12:53hi,I found a problem to generate a PWM signal like this one: i thought that we can do this with TIM1 by insertion of a DEAD TIME but when i inserted a dead time i obtained a signal lîke this one: can someone help me ...

0690X00000602xzQAA.jpg 0690X00000602y0QAA.jpg
feres by Associate II
  • 365 Views
  • 3 replies
  • 0 kudos

F405 DMA1 configuration IMPOSSIBLE

Posted on April 26, 2013 at 17:00Hello to all of you ST lovers,I got a problem : working with ChibiOS (which includes the stm32 libs) I'm trying to enable some DMA actions (to capture a timer value, as it happens). Yet whatever I do in the DMA1 Stre...

Timer triggered DMA transfer

Posted on April 26, 2013 at 10:34Hello,I'm working with a STM32F407 controller board. Right now, I want to trigger a DMA transfer with one of the internal timers (TIM1). The DMA transfer should read one gpio port and put it into the memory. The time...

Uart (rs232) communication problem

Posted on April 25, 2013 at 01:30 Hi all, i am trying to establish UART communication between µc and PC. this is my code: /* Includes ------------------------------------------------------------------*/ #include ''stm32f10x.h'' #includ...

STM32F4 Interrupts: Clearing and related questions.

Posted on April 26, 2013 at 11:49Hi Just some general questions on interrupts:I assume that external interrupts need to be be cleared. There are some forum threads that are suggesting that this is done ''automatically'' and it does not need to be co...

bl by Associate II
  • 992 Views
  • 2 replies
  • 0 kudos

high frequency PWM

Posted on April 24, 2013 at 21:18Hi, want to generate a 24MHZ 50%DC PWM, I have follow this example ,but I can't get more than 500Khz, please help me. void TIM_Config(void) { /* -----------------------------------------------------------------------...

girtor by Associate II
  • 1353 Views
  • 8 replies
  • 0 kudos

user button interrupt

Posted on April 24, 2013 at 23:43Hi,i'm novice in programming with stm32f4 and i want to know how to generate an interrupt after pressing user button what's i know is that i should use EXITx_irqHandler but how to configure the button to be related t...