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

Statemachine or Statechart implentation in C

Does anyone know the best way to implement a statechart or statemachine in C? Are there specific libraries required or should I consider just using simple statemachine tables with switch statements? Maybe statechart is overkill for my app and using...

LMorr.3 by Senior II
  • 4326 Views
  • 7 replies
  • 1 kudos

Resolved! Runt Pulse Issue on SPI MOSI

Hello,I'm trying to do a basic spi master transmit, and am having issues with the MOSI pin output. It seems the value is getting written, but the voltage swing is ~200mV rather than full value. I suspect I have the GPIO pin mis-configured, but I'm at...

_legacyfs_online_stmicro_images_0693W00000bjKL2QAM.png
JDoe.15 by Associate II
  • 1032 Views
  • 3 replies
  • 0 kudos

Project with UART Rx in DMA interrupt mode and two timers timer 6 and 7 configured for interrupts. Not getting data using STM32F446RE nucleo Board

I have written a code to receive UART data in DMA interrupt mode using circular buffer and configured timer 6 and timer 7 for doing other tasks in the same code. The problem I am facing is that I am not getting UART data and neither timer interrupts ...

PAcha.1 by Associate
  • 607 Views
  • 1 replies
  • 0 kudos

Resolved! Interrupt not triggered on EXTI1

actually I'm using stm32F446RE, I'm using hal library just to detect external interrupt from PA1 pin but it doesn't work, and if I put the interrupt from PA0 pin, it works fine?/* USER CODE BEGIN 0 */ void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin){ c...

kkhli.1 by Associate III
  • 1439 Views
  • 4 replies
  • 0 kudos

Transfer data coming from different devices

Hi ! I am receiving data from two devices and want to transmit it using usb. I am able to send using usb when receiving (to a circular buffer) only from one at a time but when I receive from both, it doesnt work (a lot of data is lost and I cannot d...

LOnGr.1 by Associate III
  • 1157 Views
  • 3 replies
  • 0 kudos

FMAC control loop issue at lower temperatures

Hi,I am currently working on a synchronous buck converter (24 VDC in and 1-15 VDC, 1-15A out) for which I used the HRTIM of the STM32G474 in combination with the FMAC as a control loop:I mainly followed AN5496 and AN5305 to get my converter up and ru...

_legacyfs_online_stmicro_images_0693W00000bjM8UQAU.png _legacyfs_online_stmicro_images_0693W00000bjMAMQA2.png
empps by Associate
  • 854 Views
  • 0 replies
  • 0 kudos