STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

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
  • 455 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
  • 461 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
  • 1331 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
  • 789 Views
  • 1 replies
  • 0 kudos

STM32F103RCT6 HOW TO USE SDIO & UART4

Posted on June 08, 2017 at 15:19I Have a problem using sdio(1bit) and UART4.UART4 TX does not work when SDIO is INIT.If SDIO is not INIT, UART4 TX work.Please tell me how to fix it.CUBE setting are shown below.  MX_GPIO_Init();  MX_DMA_Init();  MX_A...

0690X00000603sAQAQ.jpg