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

[stm32f3]can't make PWM output work

Posted on September 01, 2013 at 19:04i'm tryng to simply get 50Hz PWM out of 4 pin, timer used is TIM4, pins are D10, D11, D12 and D13. but i get a fixed HIGH.. code: int init_pwm2(int pwm_freq) {     GPIO_InitTypeDef GPIO_InitStruct;     /*Enable ...

bifrost by Associate II
  • 736 Views
  • 2 replies
  • 0 kudos

GPIO switch from input to output time with STM32F103

Posted on September 04, 2013 at 17:19Hi there,    If PortD is originally configured as input and then the following code is executed, how long will it take 0x5AA5 to appear on portD after the ->CRL assignment completes?  Can't seem to find this in t...

bikejog by Associate II
  • 1441 Views
  • 4 replies
  • 0 kudos

Setting up a 18 MHz timer

Posted on September 05, 2013 at 17:43Hi guys, I've got a stm32f10zg eval board and am trying to set up a timer on it to generate an interrupt at a frequency of 8MHz. I've got the PLL set up a a x9 so that the timer is getting a 72 MHz input clock. I...

Calling DCD_EP_Tx() multiple times

Posted on September 03, 2013 at 11:23Hi,I've been experimenting on USB devices on STM32F4 discovery board. I have a small issue.From the PC I send multiple messages (bulk_writes) to the USB, and I call 'dcd_ep_tx' within the Data_out function which ...

pradeepa by Associate II
  • 443 Views
  • 1 replies
  • 0 kudos

STM32_Init

Posted on September 06, 2013 at 08:50Hello,I would like to know if exist STM32_Init.c for STM32F0.Thanks.

mosine by Associate II
  • 397 Views
  • 0 replies
  • 0 kudos

STM32F1 - __nop()

Posted on September 06, 2013 at 03:54The code I'm porting use the __nop() function the delay but I don't have that function on F1, should I use the systick instead?https://github.com/metropt/STM32StepperDriver/blob/master/Source/main.c#L28thanks :)

ee06091 by Associate III
  • 4555 Views
  • 1 replies
  • 0 kudos

BSRR - F4 vs F3

Posted on September 06, 2013 at 00:09 Hi, I'm porting a code from F4 to F3 and one of the erros I'm getting is: stm32f_stpdrv.c: In function 'TIM3_IRQHandler': stm32f_stpdrv.c:192:20: error: 'GPIO_TypeDef' has no member named 'BSRRH' s...

ee06091 by Associate III
  • 859 Views
  • 6 replies
  • 0 kudos

Addressing 16-bit variables 512K SRAM

Posted on September 04, 2013 at 13:05Hi everyone. I can't get my head around this ... I was using a SRAM memory of 128K in a project, interfaced via the FSMC controller, but now I have to extend it to 512K. I have 16-bit words to store in the memory...

How can I use PA11 and PA12 as USB connection ?

Posted on September 06, 2013 at 01:25Guys, I made my own development board with STM32F103VCT6, My question is, How can I use PA11 and PA12 as USB connection ? and how to modify the code from ST, Mass_storage application, so it can be used for my boa...

oscillator sellection

Posted on September 05, 2013 at 16:24hello i designed an eval board base on stm32f107RC myself and i want to program it by using dfu bootloadert then i should download the bootloader file(IAP) from this site so i did this .now do i have to put a 25M...

morykeys by Associate II
  • 1242 Views
  • 6 replies
  • 0 kudos