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

How to add option bytes in binary file .

Hello everyone,We are using STM32G070 on a prototype board which will be in production soon. My problem is that when the board comes from the subcontractor, we can't program the microcontroller from UART. We succeeded to program it from UART after us...

TKopp.67 by Associate II
  • 1590 Views
  • 4 replies
  • 0 kudos

Resolved! I am using stm32l011K4U3 microcontroller on a custom made pcb. I am trying to use EXTI on PC14 pin (which is also oscillator input pin). The interrupt is triggering continuously even though there is no raising or falling edge on the pin.

I am unable to clear the EXTI pending register it always stays high and probably that is what is causing interrupt to trigger again and again. I am attaching snippets of code .Please Help me figure out the issue . #include "stm32l0xx.h" ...

PPULA.1 by Associate II
  • 1144 Views
  • 4 replies
  • 0 kudos

How to change stepper motor direction using modbus

Hi, i am controlling my stepper motor by giving commands through modbus in stm32f103. I am able to drive motor in one direction . But i am not able to drive my motor in another direction by sending command through modbus. can anyone please help me...

Lchal.1 by Associate III
  • 806 Views
  • 4 replies
  • 0 kudos

Resolved! NUCLEO H743ZI GPIO port F unable to output voltage.

Hello,I am trying to get a simple GPIO toggle working with the NUCLEO H743ZI board. I noticed that when I try using the GPIO port F pins, even though the port registers are configured correctly and I can see the bit changing in the GPIOF_ODR register...

SGada.1 by Associate
  • 1064 Views
  • 3 replies
  • 0 kudos

I use SPI in interrupt mode with HAL_SPI_TransmitReceive_IT(). In SPI ISR, transmitting routine is invoked. But receiving routine is never be invoked.

I use STM32F407IGT6 as a SPI master.I use SPI in interrupt mode with HAL_SPI_TransmitReceive_IT().  In ISR HAL_SPI_IRQHandler(), hspi->TxISR(hspi); is always executed while hspi->RxISR(hspi); is never executed.I traced down in HAL_SPI_IRQHandler().wh...

TBao.16 by Associate
  • 477 Views
  • 0 replies
  • 0 kudos

I'm working on a data logger. It intakes data with three SPI RX only slaves using DMA double buffer mode. It works fine except occasionally the f_write, which usually takes ~150 ms, takes ~1850 ms. Does anyone know why and if it's avoidable?

I'm using a Nucleo F746ZGThe SPI is setup in RX only slave mode and uses DMA Double buffer mode. The data rate changes, but at max I should be writing right at 126 kBytes per second to the drive. I'm using fatfs and USB driver with the cubemxide sou...

MStea.1 by Associate II
  • 964 Views
  • 4 replies
  • 0 kudos

Store variables in .data section instead of .bss section

I am using STM32F746G-DISCO board. And want to store all my variables in .data section instead of .bss section.This is just to make enough space available in .bss section for my DMAs.My question is that how can I do this? Can any one give me some ref...

Rohit.1 by Associate II
  • 1984 Views
  • 3 replies
  • 0 kudos

LED Blinking on STM32 via Register programming problem

Hi, I am trying to learn register programming, so I am trying to write a code for STM32G071rb for blinking LD4 which is connected to Pin PA5 using Registers. But unfortunately not only the LED is not blinking, but also the code stocks in line 43 duri...

SalPaz by Associate II
  • 3244 Views
  • 6 replies
  • 0 kudos