STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Problem enabling timer in STM32F103

Posted on July 17, 2015 at 12:50Hi all, I am using a STM32F103 MCU and I wanted to enable TIM2 timer and then perform some operations upon signals received by the timer, first by polling and then using interrupts. I have setup my timer i.e. TIM2 as ...

danesh by Associate II
  • 693 Views
  • 4 replies
  • 0 kudos

Weird/Not fully understood behaviour of HRTIM

Posted on July 07, 2015 at 13:26Iam having big problems with the high resolution timer on the STM32f334microcontroller.I am using a period of 0xD3C2, this would normally mean that writting 0xD3C2 to a compare register is full duty cycle (or zero  - ...

ambrose by Associate II
  • 641 Views
  • 2 replies
  • 0 kudos

How USB Host should enable Suspend mode?

Posted on February 17, 2015 at 15:54Hi all! I'm a bit confused by USB Host behaviour when trying to enable Suspend mode.I use ST USB library v.2.1.0. and STM32F407. Use Host example for HID device, and it is working correct. Now I try to make some c...

morpeh89 by Associate II
  • 777 Views
  • 2 replies
  • 0 kudos

STM32F4 External button not working !

Posted on July 20, 2015 at 23:30I'm trying to interface a push button to my stm32F4 discovery via PA1 , this is the code I got : void EXTI1_IRQHandler(void) {   if(EXTI_GetITStatus(EXTI_Line1) != RESET)   {      EXTI_ClearITPendingBit(EXTI_Line1);  ...

0690X00000605IEQAY.png
monta by Associate II
  • 1344 Views
  • 7 replies
  • 0 kudos

STM32F407-Discovery CAN bus problem

Posted on July 20, 2015 at 10:02Hi Guys,I'm struggling to activate the can bus in the CAN2 module in the discovery eval board.Using CubeMx, Generated all the initialization code.Set baud-rate to 50KHz, and to loop-back mode.The output waveform looks...

isak by Associate
  • 743 Views
  • 2 replies
  • 0 kudos

STM32F4 Disco Connect Under Reset

Posted on July 20, 2015 at 21:54Hi there , I had my STM32F407VG discovery board for a while now, till a few minutes earlier, I was trying to interface a button to PA13 ( I chose PA13 randomaly) to create a simple interaface for my project , but once...

monta by Associate II
  • 456 Views
  • 2 replies
  • 0 kudos

STM32F746 lacks bit-banding?

Posted on July 20, 2015 at 21:53Does the new STM32F7 series omit bit-banding support?There is no mention of bit-banding in the STM32F7 reference manual.  Attempting to use bit-banding results in a fault condition.I'm surprised by this omission.  Or ...

dale by Associate III
  • 739 Views
  • 4 replies
  • 0 kudos

STM32L053 discovery standby

Posted on July 20, 2015 at 21:42I write some code that seems to successfully put the chip into standby mode:    PWR->CR |= PWR_CR_PDDS;    SCB->SCR |= SCB_SCR_SLEEPDEEP;    while (1) { __asm(''WFI'')__; }That seems to stop everything as expected. Wh...

lee23 by Associate II
  • 385 Views
  • 2 replies
  • 0 kudos