STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

[STM32L4] I2C HAL read register problem

Posted on May 31, 2016 at 08:32 Hi, I'm trying to read register in my accelerometer FXOS8700. I'm using code below on STM32L476: uint8_t FXOS8700_ReadReg(uint8_t reg) { uint8_t value=0; HAL_I2C_Master_Transmit(&hi2c1, FXOS8700CQ_SLA...

zenobik by Associate II
  • 715 Views
  • 1 replies
  • 0 kudos

STM32F407 Watch dog

Posted on May 25, 2016 at 10:23Hi, I enabled WDT in STM32F407 controller and I have a very tight loop which is resetting the flag. Here is the code     RCC_APB1PeriphClockCmd(RCC_APB1Periph_WWDG, ENABLE);     WWDG_SetPrescaler(WWDG_Prescaler_8);    ...

nps by Associate II
  • 913 Views
  • 4 replies
  • 0 kudos

STM32F103RBT6 SOFTWARE UART

Posted on May 30, 2016 at 08:55I am working on stm32f103rbt6 controller, I require 4 UARTs but this controller having  only 3 UARTs so I am trying for software UART,I have attached my program file here, can anyone help me for writting code.         ...

Reading ADC lower amplitude values

Posted on May 31, 2016 at 13:38Good day,I am trying to read sinus from audio line in.But I see that I could only read higher value of my amplitude, here is the example:http://s33.postimg.org/i5ew1ozgf/sin.jpgMy source code:#define IO_PIN       GPIO_...

hitsumen by Associate II
  • 670 Views
  • 1 replies
  • 0 kudos

I need some help to save stm32f407vgt6

Posted on May 31, 2016 at 05:59Hello everyone! I use to stm32f4-discovery kit. because I was careless, I used PB2( BOOT 1) as GPIO( external intterup line 2). and now I can't load code for chip. what i can do to save it? Thanks for read !!!

quocanh by Associate
  • 515 Views
  • 2 replies
  • 0 kudos

Problem with set priority in STM32F429ZI.

Posted on May 31, 2016 at 11:02#include < main.h > #define Led_Green GPIO_Pin_13 #define Led_Red GPIO_Pin_14 void LED_Config(void) { GPIO_InitTypeDef GPIO_Init_Var={0}; RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOG, ENABLE); GPIO_Init_Var.GPIO_Pin = G...