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

STM32U585 + SAI

Dear Sir.I use ICS-43434 connected to STM32U585 through SAI.The lines of the ICS-43434 SD,SCK,WS works fine ,But when the interrupt is enabled the program crash.Attached some code frgaments.Main.c.MX_SAI1_Init();static void MX_SAI1_Init(void){ /* USE...

Resolved! STM32G030C8T6

Is STM32G030C8T6   a 10-year life commitment? How long does it live?

xwang.6 by Associate III
  • 807 Views
  • 2 replies
  • 1 kudos

HAL_SPI_Receive_DMA() won't start a transfer in a CubeMX project that I cloned. No activity on SPI bus. HAL call returns success. .IOC and generated files all compare successfully. (only changed some GPIO, SPI is configured same) What could I be missing ?

I simply wanted to make an identical program but with a different GPIO pinout. The SPI busses are all on the same pins and configured the same. What could I have touched that would cause the SPI transfer to not start ? I had to switch to HAL_SPI_Re...

Caveman by Associate II
  • 1088 Views
  • 4 replies
  • 0 kudos

UART2 Output Stripped - NUCLEO-F401RE

Working on a prototype and am using HAL_UART_Transmit to output to UART2. Upon output over UART2 the string seems to be truncated. Code below:```char stuff[] = "HELLO YOU FINE FELLOW";HAL_UART_Transmit(&huart2,stuff,sizeof(stuff),1);```Output is HELL...

Ghomi.1 by Associate
  • 763 Views
  • 4 replies
  • 0 kudos

MAX3232 Stops Translating When STM32L0 Running

I'm trying to interface a L0538 Discovery board to a simple TTL-to-RS232 converter board that uses a MAX3232 IC (off-the-shelf from Amazon). I have VCC, GND and TX/RX from the Discovery board (UART1) wired to the converter board. I used Cube to set u...

nobbyv77 by Associate II
  • 616 Views
  • 0 replies
  • 0 kudos

Resolved! Counting pulse + direction encoder

Hello,I'm trying to read the pulse counter with a timer on STM32H747. The counter produces pulses up to 100KHz on one timer channel and high \ low signal to define the direction.I tried two approaches.Reference manual says, as I understand, that such...

APoto.2 by Associate
  • 2642 Views
  • 2 replies
  • 0 kudos

SPI unaccountable lock. Amazing behaviour. Test software included, STM32F401 Blackpill, no additional hardware required.

My SPI gets stuck (waiting for RX register not empy flag, <SPI1->SR & 1> that never arrives). The operation is written with registers, not HAL.BUT! it only gets stuck after a fixed number of successful repeated operations, all the same, inside a loo...

Syntax by Associate II
  • 1649 Views
  • 7 replies
  • 0 kudos