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

SoftwareSerial doesn't work on Nucleo-32L031K6

I use Arduino IDE and "STM32 MCU based boards" library to program Nucleo32. Here are the settings:I connect it directly using USB to computer.Here is my code: #include <SoftwareSerial.h> SoftwareSerial mySerial(PB6, PB1); // RX, TX void setup() { ...

Screenshot 2024-09-26 213842.png
mhd75 by Associate
  • 609 Views
  • 2 replies
  • 1 kudos

I2S-DAC - STM32NUCLEO - F410RB

Is there any example code for I2S to DAC using DMA for generating audios. Will it suitable to generate using wav data or pcm samples to generate audio using this method in this specific controller.

AMS12345 by Associate III
  • 692 Views
  • 2 replies
  • 0 kudos

GPIO pin transient load current capacity

Master:Platform: stm32G070cbQuesion:The MCU pin is driven through a 100R resistor to drive an N-channel MOS transistor (2N7002, Ciss < 50pF).When the pin is given a high output, the starting transient current peak approximates I = 3.3V / 100R = 33mA,...

q.png
Lyu.1 by Senior
  • 879 Views
  • 4 replies
  • 0 kudos

STGAP1BS SPI communication

I'm having difficulty writing to STGAP1BS configuration registers. I'm using a Nucleo -G474RE to communicate with STGAP1BS chip on a custom board through SPI bus. Below I'm trying to configure CFG2 with the value 0xA0 but when I read back the registe...

RigolDS22.png
a24 by Associate
  • 423 Views
  • 0 replies
  • 0 kudos

Choosing MCU for motor driving

I should choose a microprocessorcontroller (to be implemented on a pcb in the future) to control a 3-phase brushless motor using field oriented control.There are really a lot of MCU models, so I would like a guide/advice that shows how to choose it a...

luke514 by Senior
  • 1395 Views
  • 5 replies
  • 2 kudos

VDDA reading

I have a problem regarding VDDA on my hardware piece, that has an STM32U535RET6 chipset. According to the documentation, this exact chipset, does not have an internal reference buffer, so I'm stuck to using the VDDA/VREFINT as they are for my ADC1-IN...

Zer0_0-1727336937664.png
Zer0 by Associate II
  • 739 Views
  • 2 replies
  • 2 kudos

Resolved! Creating non-eraseble Flash Memory Space

Hello, i am using STM32H723 Microcontroller. I need to create a region in the memory(preferably whole sector 7) that is not erasable during debugging process. To do this i made the following changes in the linker script:MEMORY { ITCMRAM (xrw) : ...

STM32U575 Watchdog Mechanism

Hi We want to use STM32U575 Watchdog Mechanism in our operational FW, but have the following concerns:1. Can MCU ST Bootloader kick the WD in general, and especially duringca FW update, when it is busy writing/reading to flash the new FW to update or...

RLanz.2 by Associate III
  • 3048 Views
  • 8 replies
  • 2 kudos

Resolved! STM32G4 and Timer channel 5&6

Currently i am writing my own MCAL drivers for G4 MCU's and i dont understand interrupts for timer channels 5&6. Lets assume Timer 1 where you can check interrupt status of CC of channels 5&6 in TIMx_SR on bits 16&17. But there is no mention about ac...

Eiffel by Senior
  • 982 Views
  • 3 replies
  • 1 kudos