STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Difference between HAL_HRTIM_RegistersUpdateCallback, HAL_HRTIM_CounterResetCallback and HAL_HRTIM_IRQHandler

Posted on June 09, 2017 at 05:23Thank you for your patronage. I want to use Interrupt Service Routine(ISR) as shown in the picture below. So I want to use HAL_HRTIM_RegistersUpdateCallback or HAL_HRTIM_CounterResetCallback or HAL_HRTIM_IRQHandler. W...

0690X00000607GHQAY.png 0690X00000607ILQAY.png 0690X00000607IBQAY.png 0690X00000607IVQAY.png
Ken Inoue by Associate III
  • 483 Views
  • 0 replies
  • 0 kudos

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
  • 432 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
  • 439 Views
  • 0 replies
  • 0 kudos

STM32F401RE Nucleo + SDIO + FatFS + CubeMX 4.21.0

Posted on May 30, 2017 at 23:52STM32F401RE Nucleo + SDIO + FatFS + CubeMX 4.21.0, anyone can confirm me that SD is working and CubeMx dont'create fault code? I'm trying to write a file in SD card but at f_printf(....) CPU still locked (hard fault?)

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
  • 1278 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
  • 751 Views
  • 1 replies
  • 0 kudos