STM32 MCUs Embedded software

Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

SD Card remove and reinsert

fresult1 = f_mount(&myFATAFS, SDPath, 1) while(FR_OK != fresult1){If I remove and reinsert the SD card the f_mount return FR_DISK_ERR instead FR_OK.If I restart the project all is OK.I have the SD_CARD present pin, what can i do when the card is disc...

IlConte by Associate III
  • 2488 Views
  • 3 replies
  • 0 kudos

Ethernet DMA RBU & TBU Error bit on STM32H5

Hey there!I've been playing around with the Ethernet HAL driver on the NUCLEO-H563ZI and I was able to make it work. I'm currently using the latest STM32CubeH5 package release. Here's the issue: whenever I receive an ethernet packet, the interrupt at...

nunokisi by Associate II
  • 2178 Views
  • 2 replies
  • 0 kudos

Resolved! stm32 timer stops after integer overflow.

Hello, i have a stm32wb15cci'm trying to make a hold button, that toggles a led on/off when pressed for 2 seconds. my HCLK1 is running at 4Mhz and my prescaler is at 3999, meaning it should count up every 1ms. I'm using TIM1 which is a 16bit timer, s...

cosmtrox by Associate
  • 1070 Views
  • 1 replies
  • 0 kudos

Resolved! F410: multiple definition of `huart2';

HI there, i m using F410 Nucleo, and i keep getting these errors when using USART2, as I declare in 2 separe files i.e. main.c and buffer.  could anyone advise how to resolve this?error: multiple definition of `huart2'; //main.c .. /* Private variabl...

Resolved! HAL_SPI_Receive_IT Also Transmits

I am using STM32F105xx family, working with HAL_SPI API.  I have discovered that the call to HAL_SPI_Receive_IT causes whatever data is in the provided buffer to be clocked out on MOSI.  This issue is also discussed to some extent in this thread, but...

Brian H by Senior
  • 2813 Views
  • 7 replies
  • 5 kudos

Resolved! STM32F401Re issue with ADC

Hey folks.What I do is this: I get 14 ADC measurements on different channels, than use DMA to store them into an array. When this is ready an interrupt flag is raised, I make a copy of that array and send it via UART. There is a timer to control the ...