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

f_write is returning fr_invalid_object error....

Posted on December 26, 2016 at 12:12I have downloaded two example project for SD card read & write, One is  FatFS_uSD(standalone project) and second one is FatFS_uSD_RTOS(with FreeRTOS) from the ST link.I am doing continuous write(f_write) to the sd...

kishore R by Associate II
  • 2028 Views
  • 2 replies
  • 0 kudos

Resolved! Strange GPIOA output states

Posted on December 26, 2016 at 18:26Hello,Here is my code for set and reset PA.3 for stm32f10x#include <stdio.h>#include <string.h>#include 'stm32f10x_gpio.h'#include 'stm32f10x_rcc.h'#include 'stm32f10x_tim.h'void delay(void){                int i,...

parisa by Senior
  • 620 Views
  • 3 replies
  • 0 kudos

Quadrature encoders on STM32L4

Posted on December 24, 2016 at 22:50Hi,I use a Stm32 Nucleo L476 board and I am trying to interface a quadrature encoder to TIM4 in the Encoder Mode using STM Cube My problem is that i don't know how to read the value of the timer using the function...

Trouble with FatFS and SDIO(DMA) L4

Posted on December 22, 2016 at 22:05While my setup, in general, works just fine, the data I write is somehow misaligned. If I use f_write() with over 512 bytes of data it will behave in an unpredictable manner either adding or removing bytes. Since ...

ChrisH by Associate III
  • 339 Views
  • 1 replies
  • 0 kudos

generate pulse wave with stm32f10x and cmsis library

Posted on December 23, 2016 at 19:30HelloI'm supposed to generate pulse train with stm32f10x and cmsis library.TIM_TimeBaseInitTypeDef TIMST;  TIMST.TIM_Prescaler=72; TIMST.TIM_Period=1000; TIMST.TIM_ClockDivision=TIM_CKD_DIV1;     TIMST.TIM_Counter...

parisa by Senior
  • 442 Views
  • 2 replies
  • 0 kudos

Resolved! Pulse Width Modulation in stm32f10x

Posted on December 26, 2016 at 12:02HelloHere is my Pulse Width Modulation function that doesn't work properly.what is my mistake?Input Freq:72MhzChip: f107output pin:PA.0TIM_TimeBaseInitTypeDef TStructure; TIM_OCInitTypeDef OCStructure;GPIO_InitTyp...

parisa by Senior
  • 520 Views
  • 1 replies
  • 0 kudos

STM32F103 - sending and receiving CAN remote frames

Posted on December 14, 2016 at 21:23I'd like to know, how to send and receive remote frame properly. Do i have to realize the recognition of remote frame and sending data frame back by software, or it's realized fully by the hardware?

jerzy by Associate II
  • 1042 Views
  • 2 replies
  • 0 kudos

Undefined reference HAL_I2C_Init. Help?

Posted on December 22, 2016 at 18:11Hello everybody,In first time, I'm sorry for my english! ^^I'm trying to configure an I2C communication for a MCU STM32F401RT6. I don't use ...Cube_MX but I use STM32f4xx_HAL Library for different reason and not S...

0690X00000605pYQAQ.png 0690X00000605vQQAQ.png

how to use st-link to reset stm32 chip?

Posted on December 26, 2016 at 12:50I use st-link tool in ubuntu,I found that 'st-flash reset' or  after I st-flash a bin file to the stm32 chipthe led action will not actually reset,for example, after on power, the ledA will not turn on,after I pre...

ctc.ctc by Associate II
  • 629 Views
  • 1 replies
  • 0 kudos