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

Load and execute code from SD card

Posted on September 06, 2013 at 08:37I want to store part of my code on an SD card and execute it whenever a certain event occurs. I've already figured out how to interface with an SD card so the problem now it getting the machine code into RAM and ...

registers editing problem

Posted on September 05, 2013 at 23:34Hi, I work with STM32F100RB chip and i got a little problem with editting registers of some peripheral. I got a problem with edit DMA registers. Even if I use code from DMA example in my project and build it, the...

onbartik by Associate II
  • 746 Views
  • 5 replies
  • 0 kudos

[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
  • 774 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
  • 1470 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
  • 466 Views
  • 1 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
  • 4595 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
  • 881 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...