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

SPH0645LM4H-B interface with STM32L476RG on SAI

Hi,I am trying to interface SPH0645LM4H-B mic sensor with STM32L476RG on SAI.I have configured the SAI2 block A with following configuration.Master clock :- 2.826 Mhz Sampling rate :- 44KHZ//////////////////// PLL configuration //////////////...

"System Workbench�?(SW4STM32) printf redirection not work

Dear AllI would like to redirect printf output to UART.It seem very simple in this field and many example in internet.I try that with "System Workbench"(SW4STM32).The IDE doesn't show anything wrong.adding below to "uart.c" #ifdef __GNUC__ /* With ...

L C by Associate II
  • 741 Views
  • 1 replies
  • 0 kudos

how gpio toogle on STM32 NUCLEO L4R5ZI can be configured?

hello team,I am trying to get started with NUCLEO l4r5zi board. The first program i am doing is to blink a LED on board (PB7) . Problem is the program builds successfully and is loaded on the board . but the LED is not blinking. Moreover the Console ...

0690X000006C2w3QAC.png 0690X000006C2wDQAS.png

ST-LINK V2: Command line HALT DOESN'T WORK

Hi, I'm developping a VI in Labview to interface with ST-LINK V2 using "ST-LINK_CLI.exe" and programming ST micro . I'm able with my VI to program micro, write and read byte but when I use the command -halt to halt the core it doesn't work and I rece...

STM32CubeMX v4.26.0 makefile code generation error

Posted on June 17, 2018 at 04:38Hi,I think I encountered with code generation error of STM32CubeMX v4.26.0 in Makefile setting. This is how to regenerate it:1. Create any project2. Generate code with Makefile setting.3. Close CubeMX4. Find the proje...

Reading a 16-bit word via SPI

In order to read a 16-bit word from a current sensor, is it correct to say: HAL_SPI_Receive(&hspi1, &SPIRx[0], 1, 1); //?SPIRx is declared as uint16_t SPIRx[1];I told CubeMx that the data size for SPI1 is 16 bits

xpp07 by Senior
  • 908 Views
  • 4 replies
  • 0 kudos

ARM Cortex M4 SVC interrupt causes usage fault

I’m trying to write a context switch assembly on STM32F411E but I encounter a usageFault right after I make a second call to the SVC 0 (in my second task) instruction. The funny thing is the first task can make SVC calls just fine but the second task...

SMola by Associate II
  • 1757 Views
  • 6 replies
  • 1 kudos