STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 904 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
  • 574 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
  • 855 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
  • 363 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
  • 768 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
  • 1543 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
  • 2786 Views
  • 6 replies
  • 0 kudos

STM32H730AB - Assembling Data from Single Bit Inputs

I would like to use the STM32H730AB as the central controller for a wireless sensing device. For this device, the MCU will drive an external 8-bit ADC at 40 MSPS. This ADC generates an output signal across 8 output pins, 1 for each bit of the digital...

SPaul.3 by Associate II
  • 987 Views
  • 7 replies
  • 0 kudos

Resolved! Cycle count of 32x32 multiplication on STM32F072?

The technical docs state that multipleication (MULS instruction) can take either 1 cycle or 32 cycles. This is defined when the board is produced. Does anyone know which of the two configurations the STM32F072RB uses?

MParu.1 by Associate
  • 867 Views
  • 2 replies
  • 0 kudos