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

Hard Fault Detected STM32L031k6t6

Hey STM team, Recently I started to work with the STM microcontrollers. In my current project I have a STM32L031k6T6 with the ADC0 (PA0) reading the voltage and the channel 1(PA1) reading the Current. My Sample rate will be 1920Hz ( 32 points / cycle...

0693W000001shf9QAA.png
CMart.3 by Associate II
  • 339 Views
  • 0 replies
  • 0 kudos

H745 DMA hardware problem?

I have encountered a strange problem with some of the dmas seeming to not ​be able to write to GPIOD ODR. I am using 5 dmas in a chain to write 16bit data to port D. Initially, i was using dma1 streams 0-4 but noticed that the signal was correct for ...

RMcCa by Senior II
  • 1066 Views
  • 5 replies
  • 0 kudos

Waveform generation DAC DMA

I am trying to generate a trapezoidal waveform with slew rate 45V / us that is triggered every 50ms by an interruption generated by a timer. I am using the microcontroller stm32g474, which has 2 DAC with 15MPS. I am using DAC3 with DMA (circular mode...

TNune.1 by Associate
  • 1219 Views
  • 2 replies
  • 0 kudos

How do I configure MCU as I2C slave device?

I've been trying to set up MCU (STM32 L432KC) as an I2C slave device. I have previously tested it as a master device to interface with a port expander(MCP2307) and it works perfectly fine.The following is the code I am running. The master sends 1,2,3...

KSchr.11 by Associate II
  • 482 Views
  • 0 replies
  • 0 kudos

STM32F031K6: Storing 16-bits variable in a non-volatile memory. Which solution is preferred internal Flash / external EEPROM?

I'm using STM32F031K6 in my design. I want to store 16-bits variable (Timer's AutoReload Register) in a non-volatile memory. What is best solution for this application? Internal Flash or external 128b EEPROM ?Any STM32 example code available to store...

S.Kamath by Associate III
  • 753 Views
  • 4 replies
  • 0 kudos

Resolved! SPI with extra CE# pulse and not enough bytes

Hey,I'm a beginner.I'm working with STM32F303RET6 and I'm trying to communicate with SST26VF064B (Flash) over SPI.This is how I configured my SPI (Using MXCuce):static void MX_SPI2_Init(void) {   /* USER CODE BEGIN SPI2_Init 0 */   /* USER CODE E...

0693W000001sUQpQAM.png
RLosc.1 by Associate II
  • 1889 Views
  • 6 replies
  • 0 kudos

STM32H750 GPIO slow compared to STM32F2 series

Driving a RGB led matrix display (HUB75E) using custom board made with STM32H750. Earlier the prototype was made with STM32F205 and there was a minute flickering in some scenarios (brightness low). so thought of designing the board with STM32H7. But ...

Raees by Associate III
  • 1034 Views
  • 3 replies
  • 0 kudos