STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F103 + PWM+ DMA + HAL?

Posted on November 26, 2015 at 17:38 I have STM32F103 working on 8MHz. If I InitPWM on Ch1 Tim3 void MX_TIM3_Init(void) { TIM_ClockConfigTypeDef sClockSourceConfig; TIM_MasterConfigTypeDef sMasterConfig; TIM_OC_InitTypeDef sConfig...

asrock70 by Associate II
  • 619 Views
  • 4 replies
  • 0 kudos

STM32F401 Nucleo I2C_FLAG_BERR

Posted on November 27, 2015 at 12:25Hi,I am trying to experiment with I2C and have two Nucleo F411 board linked over I2C. I've setup the I2C and something is happening but no matter what I egt I2C_FLAG_BERR error. Could anyone explain the error? Fur...

dman by Associate II
  • 329 Views
  • 1 replies
  • 0 kudos

IAR configuration

Posted on November 27, 2015 at 22:38I am trying to perform a memory read operation in a STM32L152 discovery board using the following code:#include ''stm32l1xx.h''#include ''stdio.h''uint16_t ts_cal1;uint32_t address1=0x1FF800FB;uint32_t address2=0x...

STM32CubeMx HAL_SPI_Receive ?

Posted on October 06, 2015 at 23:59 Guys, I want to send a command and then retrieve the output on MOSI line ... Is the right way doing it ? int resultvalue = 0; uint8_t data7[2] = { VS_READ_COMMAND, addressbyte }; HAL_SPI...

Ideas for improvement STM32CubeMX

Posted on November 20, 2015 at 11:221. Timer ConfigurationAdd thetimerconfigurationcalculatorwhich ofthe requested Interupt Time or Frequency calculate Counter Period (ARR) and conversely the input values shows the parameters counter. Excellent woul...

asrock70 by Associate II
  • 377 Views
  • 2 replies
  • 0 kudos

STM32 discovery DMA with SPI

Posted on November 27, 2015 at 13:22Hello everyone, I'm trying to initialize the DMA for SPI2 but I failed to do it and not able to understand why it's not working. please someone let me know the reason. #spi-dma

no definition for ''__iar_data_init3''

Posted on November 20, 2015 at 14:14Hello everybodyI want to declare a vector to save data on it (in assembly code).I use this declaration:      SECTION MYDATA:DATA (2)        DATAResult DS8   3 ;  allocates space (3 bytes)When I compile, IAR give ...

life758 by Associate II
  • 1105 Views
  • 2 replies
  • 0 kudos