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

How can i get SD Card connect and disconnect interrupts

Hello All, I want to get an interrupt whenever i connect or disconnect sd card in to sd card slot . How to do this ?I have stm32f7 discovery board . I searched in hal_sdio.c , but couldnt get any info. what is the best way to achieve this ? Thank you...

RN by Senior
  • 762 Views
  • 2 replies
  • 0 kudos

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
  • 1006 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
  • 1511 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
  • 794 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
  • 703 Views
  • 1 replies
  • 0 kudos