STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Error compile

Hello everyone. I have a problem with Stm32f407IGH EVAL.I coppy template of source code to other file. I also modified path include.But when I compile, build output have 30 error, all error in file stm32f4xx_fmc.c file, like FMC_Bank1 undefined, FMC_...

syntax is the bane of my work...

I don't understand why this would compile and work for one project but not another...const char Menu[40][32] = { "\033[91;2mShow Menu\033[93;2m <space>", "\033[0m ", "1 Read Flash status" };   char * ptr = &Menu; <- fails here [C...

T J by Lead
  • 734 Views
  • 4 replies
  • 0 kudos

SPI master send simle data error

Hi, do you know how is the simplest code to send data from stm32(master) to arduino (slave) through spi.I tried to write my own code, so here is the sktech ofmy code :#define SPI2_Funct 0x05 // This is a function of GPIO AFR#define CMD_LENGTH  2#defi...

STM32H753I-EVAL SDMMC cubeMX problem

Hello, I am a total newby for what concerns stm32 programming and this question may be stupid.... I am using a STM32H753i-eval board and will need to use fdcan, lcd, SD and a few more peripherals. For this reason I started my project using STM32cubeM...

gian666 by Associate II
  • 1035 Views
  • 6 replies
  • 0 kudos

Basic question regarding timers and generating a simple delay

Hi there,Let say I want to generate a 1 ms delay using a timer. I set my prescaler to have a 1ms granularityTIMx->PSC = (uint16_t)((SystemCoreClock / 1000U) - 1);Now if I want to generate a 2ms delay I usually do it like this (assuming the UIF flag i...

Kraal by Lead
  • 535 Views
  • 2 replies
  • 0 kudos

STM32F746-Disco SDRAM problem

Hi,I have problem with the test of SDRAM memory. I use STM32F746 Discovery kit where is MT48LC4M32B2 memory.  SDRAM size is 128-Mbit SDRAM but only 64-Mbit is accessible on kit. So I try to test the entire 8MB SDRAM memory. Unfortunately, when the la...

MPeco by Associate
  • 493 Views
  • 1 replies
  • 0 kudos

STM32L496 I2C1 PA9 PA10 stuck low

Posted on June 06, 2018 at 12:49I am having problems configuring the I2C1 gpio pins on the STM32L496 on pins PA9 and PA10.After the gpios are configured the SCL and SDA lines go from a high level to a low level, which is unexpected. After configurat...