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! STM32G474RE TIM4 Rotary Encoder

Hi,Greetings!I have a Bourns Rotary encoder https://www.bourns.com/docs/product-datasheets/pec11r.pdfconnected to PA11(ENCA)/TIM4_CH1 and PA12(ENCB)/TIM4_CH2.Trying to use the encoder as a input control for user input.This is what I am doing:  static...

0693W000006Gx0VQAS.png

How to read Data with UART circular DMA and byte-by-byte Data and use two Buffer ? with stm32f407 ? without FreeRTOS and realtime !!

Hello Friendsi'm new in STM32 i wanna know how to Read Data Byte-by-Byte from uart Rx Circular Dma and save this data in a buffer ? and my challenge is i do not know my input data length and type of that (hex, bin, ascii ,...)theres any sample code ?...

Mmm.1 by Associate II
  • 8466 Views
  • 7 replies
  • 1 kudos

ADC freezes on power up

I have a project using an STM32L412. It works fine on my bench power supply, but I made it to run on a piece of modular equipment which has a different power supply - this supply is slower starting. On this supply the board seems to work fine except ...

deep_rune by Associate III
  • 1314 Views
  • 4 replies
  • 0 kudos

Nucleo-F446RE - CAN Bus not initializing.

Hello!I have been trying to get the CAN system on this to work unsuccessfully for some time now, and in trying to debug the code have added some SWV ITM console printf's. In running the code, the HAL_CAN_Init, HAL_CAN_ConfigFilter, HAL_CAN_ActivateNo...

Aaronium by Associate III
  • 3411 Views
  • 7 replies
  • 0 kudos

Resolved! CAN interrupt is not called

Hello,I am trying to set up a CAN interrupt base communication system and it seems that IRQ handler is never called.Debugger goes through the CAN1_TX and then back to main function, so IRq is never called.USART output:[2020-12-08_21:19:01:191] A...

Kaveh by Associate III
  • 1110 Views
  • 1 replies
  • 0 kudos

Resolved! Issues with SPI comms between two STM32s

I'm trying out simple SPI comms between two STM32s. The TX is STM32F407 and the RX is STM32G070. The data that I seem to be receiving is different from what I'm sending. What am I missing here?For the RX, I've set the NSS to software. I've configured...

0693W000006Gw3KQAS.png 0693W000006Gw4RQAS.png

Trouble setting D2 clocks

I'm trying to set up the clock tree, and D1CKRDY becomes ready, but for some reason D2CKRDY does not. Here is the code:// Clock setup   RCC->CR |= RCC_CR_HSEBYP; // Set HSE as...

Neuromod by Associate II
  • 515 Views
  • 0 replies
  • 0 kudos

Changing data for DAC every 1 sec

Hello,I currently use the STM32G4 MCU Nucleo board (NUCLEO-G474RE) - I create an array of numbers (specifically - a sine wave at a certain frequency), which I transmit via the DMA, triggered by a timer (TIM2). Currently, the array is being transmitte...

YLivn.1 by Associate II
  • 1126 Views
  • 4 replies
  • 1 kudos