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

Resolved! Why SPI transmit doesn't work from timer interrupt?

Hello everyone!That works:int main(void) { ... init_SPI1(); for(;;) SPI1_Send(); }And that doesn't:void TIM2_IRQHandler(void) { SPI1_Send(); TIM2->SR &= ~TIM_SR_UIF; // reset UIF bit in the status register of the timer }Why?Thank you ve...

NikolaiB by Associate III
  • 75 Views
  • 5 replies
  • 1 kudos

Unable to read sectors from sd card on STM32U575ZI

Hello I'm trying read sector numer 0 from SD card. I use 4-bit mode for sd card reading. My MCU is on Nucleo development board. Card is correctly initialized but when I'm trying read sector I get zeros in buffer and maybe 10 random not-zero bytes. Wh...

kk9_0-1769895357448.png kk9_1-1769895396173.png kk9_2-1769895422404.png kk9_3-1769895546345.png
kk9 by Associate
  • 57 Views
  • 2 replies
  • 0 kudos