STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How can I redefine it ?

Posted on September 06, 2013 at 14:44Guys, I saw these codes, #ifdef USE_STM3210B_EVAL   #define USB_DISCONNECT                    GPIOD     #define USB_DISCONNECT_PIN                GPIO_Pin_9   #define RCC_APB2Periph_GPIO_DISCONNECT    RCC_APB2Per...

usart -> dma fifo error int

Posted on September 05, 2013 at 04:09 Every time I hit my dma int handler I have an error and it looks like the data i'm sending is all screwed up. Any ideas ? Better yet, any direction as to how to solve these issues myself ? There are ints ...

Debug with GDB - Symbols names

Posted on September 06, 2013 at 17:58Hi,It is possible to use symbols names in gdb? per example:p GPIOA->BSRR instead of: p *(0x40020000+0x18) ?Thanks :)

ee06091 by Associate III
  • 178 Views
  • 0 replies
  • 0 kudos

RTC Calibration STM32F205

Posted on September 06, 2013 at 14:32I'm trying to calibrate the difference of 512Hz at the out  where PC13 possess 511.936Hz which causes about 10 seconds per day delay in the RTC. I'm making the form below, I wonder where I'm going wrong, not beca...

acer by Associate II
  • 292 Views
  • 0 replies
  • 0 kudos

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
  • 540 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
  • 549 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
  • 1157 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
  • 323 Views
  • 1 replies
  • 0 kudos