STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I2C code error and port damaged

Posted on June 09, 2017 at 03:59 I am using STM32Fxx library. I am not using STMCubemx. Issue I am facing is that the first time I run I2C communication after turning on MCU, the busy flag timeout occurs. while(I2C_GetFlagStatus(I2C1, I2C_FLAG...

FLast.5 by Associate II
  • 385 Views
  • 0 replies
  • 0 kudos

How to use HAL_HRTIM_CounterResetCallback

Posted on June 09, 2017 at 03:28Thank you for your patronage. I'm Japanese. I want to use Interrupt Service Routine(ISR) as shown in the picture below. So I want to use HAL_HRTIM_CounterResetCallback.I wrote the program as shown below, but HAL_HRTIM...

0690X00000607HXQAY.png 0690X00000607IGQAY.png 0690X00000607I1QAI.png 0690X00000607HwQAI.png
Ken Inoue by Associate III
  • 395 Views
  • 0 replies
  • 0 kudos

Resolved! __HAL_TIM_SET_PRESCALER error

Posted on June 07, 2017 at 22:50Hi,I tried this code :void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim){/* USER CODE BEGIN Callback 1 */    if (htim->Instance == TIM2) {    HAL_GPIO_TogglePin(GPIOA, GPIO_PIN_5);        __HAL_TIM_SET_PRESCA...

osiauhwa by Associate II
  • 1122 Views
  • 4 replies
  • 0 kudos

STM32F407 SPI Irq handler - timing issue

Posted on June 08, 2017 at 15:04Dear Community,I want to send and receive SPI data using the SPI-Irq handler of a STM32F407 device. Using a low speed SPI everything worked so far but now I need to speed thinks up and I noticed that receiving works m...

jogerh by Associate II
  • 671 Views
  • 1 replies
  • 0 kudos